Swoole\Client::isConnected

(PECL swoole >= 1.9.0)

Swoole\Client::isConnected — Check if the connection is established.

说明

public Swoole\Client::isConnected ( ) : bool

This method returns the connection status of application layer.

参数

此函数没有参数。

返回值

Whether the connection is established.

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 由 站长在线 整理 版权归PHP文档组所有