Swoole\Server::__construct

Construct a Swoole server.

Description

public Swoole\Server::__construct(
    string $host,
    int $port = ?,
    integr $mode = ?,
    int $sock_type = ?
)

Parameters

host

port

mode

sock_type