Swoole\Client::isConnected

(PECL swoole >= 1.9.0)

Swoole\Client::isConnectedCheck if the connection is established.

说明

public Swoole\Client::isConnected(): bool

This method returns the connection status of application layer.

参数

此函数没有参数。

返回值

Whether the connection is established.