« 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 返回值