PHP 8.1.0 RC 4 available for testing


(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.


This function has no parameters.

Return Values

Whether the connection is established.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top