Swoole\Server
PHP Manual

Swoole\Server::shutdown

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server::shutdownShutdown the master server process, this function can be called in worker processes.

说明

public void Swoole\Server::shutdown ( void )

参数

此函数没有参数。

返回值


Swoole\Server
PHP Manual