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 Swoole\Server::heartbeat ( boolean $if_close_connection ) : mixed

参数

if_close_connection

返回值