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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Whether the connection is established.