Swoole\Client
PHP Manual

Swoole\Client::isConnected

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

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

Description

public bool Swoole\Client::isConnected ( void )

This method returns the connection status of application layer.

Parameters

This function has no parameters.

Return Values

Whether the connection is established.


Swoole\Client
PHP Manual