Swoole Server shutdown

public void Swoole\Server::shutdown ( void )

Shutdown the master server process, this function can be called in worker processes.

Shutdown server by system signal SIGTERM

kill -15 MASTER_PID

Parameter

void

Return

void

Example