Swoole\Client::isConnected

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

说明

public Swoole\Client::isConnected ( void ) : bool

This method returns the connection status of application layer.

参数

此函数没有参数。

返回值

Whether the connection is established.