Description
Hey
The Server's constructor stub in https://github.com/openswoole/ide-helper has this:
public function __construct(string $host, int $port = 0, int $mode = \OpenSwoole\Server::SIMPLE_MODE, int $sockType = \OpenSwoole\Constant::SOCK_TCP)
{
}
But the docs here - https://openswoole.com/docs/modules/swoole-server-construct
say:
OpenSwoole\Server::POOL_MODE: Multi process mode, the business logic is running in the child processes, this is the default running mode of a server
Which is correct?
Btw, the description in the docs for SIMPLE_MODE
has a typo: "simalar" => "similar" 👍🏼
Thank you!
Metadata
Metadata
Assignees
Labels
No labels