Swoole\Server
PHP Manual

Swoole\Server::heartbeat

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

Swoole\Server::heartbeatCheck all the connections on the server.

说明

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

参数

if_close_connection

返回值


Swoole\Server
PHP Manual