Swoole\Server::__construct

(PECL swoole >= 1.9.0)

Swoole\Server::__constructConstruct a Swoole server.

Descripción

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

Parámetros

host

port

mode

sock_type

To Top