English | 简体中文 | 繁體中文
查询

Swoole\Server::heartbeat()函数—用法及示例

「 检查服务器上的所有连接 」


适用版本(PECL swoole >= 1.9.0)

Swoole\Server::heartbeat — 检查服务器上的所有连接。

说明
public Swoole\Server::heartbeat(bool $if_close_connection): mixed

参数
if_close_connection
返回值
补充纠错
上一个函数: Swoole\Server::listen()函数
下一个函数: Swoole\Server::on()函数
热门PHP函数
分享链接