编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Server::getLastError
  • Swoole\Server::listen »
  • PHP Manual
  • Swoole\Server
  • Check all the connections on the server.

Swoole\Server::heartbeat

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

Swoole\Server::heartbeat — Check all the connections on the server.

说明

public Swoole\Server::heartbeat ( boolean $if_close_connection ) : mixed

参数

if_close_connection

返回值

相关文章
php swoole the swoole redis server classphp swoole the swoole server classphp swoole connection iterator count connections.php swoole redis server descriptionphp swoole redis server descriptionphp swoole redis server descriptionphp 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 construct a swoole server.php swoole server check if the connection is existed.php swoole server get all of the established connections.php swoole server check all the connections on the server.php swoole server restart all the worker process.php swoole server send data to the client.php swoole server send file to the connection.php swoole server send message to worker processes by id.php swoole table count the rows in the table or count all the elements in the table if $mode = 1.php swoole timer check if a timer is existed.php swoole websocket server check if the the file description is existed.
关注编程学问公众号
编程学问网 湘ICP备20001732号