« Swoole\Server::stats
Swoole\Server::task »
PHP Manual
Swoole\Server
Stop the Swoole server.
Swoole\Server::stop
(PECL swoole >= 1.9.0)
Swoole\Server::stop
—
Stop the Swoole server.
说明
public
Swoole\Server::stop
(
int
$worker_id
= ?
) :
bool
参数
worker_id
返回值