Swoole\Client::isConnected

Check if the connection is established.

Description

public bool Swoole\Client::isConnected()

This method returns the connection status of application layer.

Parameters

This function has no parameters.

Return Values

Whether the connection is established.