Swoole\Server
PHP Manual

Swoole\Server::stop

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

Swoole\Server::stopStop the Swoole server.

Description

public boolean Swoole\Server::stop ([ integer $worker_id ] )

Parameters

worker_id

Return Values


Swoole\Server
PHP Manual