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.

Description

public void Swoole\Server::shutdown ( void )

Parameters

This function has no parameters.

Return Values


Swoole\Server
PHP Manual