public mixed Swoole\Server::heartbeat ( boolean $if_close_connection )
Check status of all the connections of the server. Optionally close the idle and timeout connections.
$if_close_connection
the option which decides if close the connections which exceeds the timeThe array of connections