Swoole\Server::__construct
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Construct a Swoole server.
Description
Swoole\Server::__construct(string $host, [int $port], [int $mode], [int $sock_type])
Parameters
hostportmodesock_type