Swoole\Server::__construct — 构建一个Swoole服务器。
说明
public Swoole\Server::__construct(
string $host,
int $port = ?,
integr $mode = ?,
int $sock_type = ?
)
参数
host
port
mode
sock_type
构建一个Swoole服务器
public Swoole\Server::__construct(
string $host,
int $port = ?,
integr $mode = ?,
int $sock_type = ?
)