PHP - Manual: Swoole\Server::__construct
2025-10-25
(PECL swoole >= 1.9.0)
Swoole\Server::__construct — Construct a Swoole server.
$host,$port = ?,$mode = ?,$sock_type = ?
host
port
mode
sock_type
官方地址:https://www.php.net/manual/en/swoole-server.construct.php