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

Parameters

if_close_connection

Return Values