You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function __construct(string $host, int $port = 0, int $mode = \OpenSwoole\Server::SIMPLE_MODE, int $sockType = \OpenSwoole\Constant::SOCK_TCP)
{
}
Hey
The Server's constructor stub in https://github.com/openswoole/ide-helper has this:
But the docs here - https://openswoole.com/docs/modules/swoole-server-construct
say:
Which is correct?
Btw, the description in the docs for
SIMPLE_MODE
has a typo: "simalar" => "similar" 👍🏼Thank you!
The text was updated successfully, but these errors were encountered: