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.

Description

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

Parameters

if_close_connection

Return Values


Swoole\Server
PHP Manual