= 1.9.0)Swoole\Server::__construct — Construct a Swoole server.說明public Swoole\Server::__construct( string ">

Swoole\Server::__construct

(PECL swoole >= 1.9.0)

Swoole\Server::__constructConstruct a Swoole server.

說明

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

參數(shù)

host

port

mode

sock_type