编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Server::stats
  • Swoole\Server::task »
  • PHP Manual
  • Swoole\Server
  • Stop the Swoole server.

Swoole\Server::stop

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

Swoole\Server::stop — Stop the Swoole server.

说明

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

参数

worker_id

返回值

相关文章
php swoole the swoole redis server classphp frontbase 函数 stop a database on local or remote serverphp swoole http server bind callback function to http server by event name.php swoole http server start the swoole http server.php swoole redis server descriptionphp swoole redis server descriptionphp swoole server bind the connection to a user defined user id.php swoole server stop and destory a timer.php swoole server close a connection to the client.php swoole server check status of the connection.php swoole server get the connection info by file description.php swoole server get all of the established connections.php swoole server stop receiving data from the connection.php swoole server set the connection to be protected mode.php swoole server restart all the worker process.php swoole server start receving data from the connection.php swoole server send data to the client.php swoole server stop the swoole server.php swoole server execute multiple tasks concurrently.php swoole server repeats a given function at every given time interval.
关注编程学问公众号
编程学问网 湘ICP备20001732号