PHP - Manual: Swoole\Server::addlistener
2024-12-21
(PECL swoole >= 1.9.0)
Swoole\Server::addlistener — Add a new listener to the server.
$host
, int $port
, string $socket_type
): void
host
port
socket_type
官方地址:https://www.php.net/manual/en/swoole-server.addlistener.php