Swoole\Server::__construct

(PECL swoole >= 1.9.0)

Swoole\Server::__constructСоздаёт сервер Swoole

Описание

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

Список параметров

host

port

mode

sock_type

To Top