connect() connect(array $config) : \Swoole\Coroutine\Client Connect to the specified Server and returns the connection resource Parameters array $config Returns \Swoole\Coroutine\Client —
disconnect() disconnect(\Swoole\Coroutine\Client $connection) : mixed Disconnect and free resources Parameters \Swoole\Coroutine\Client $connection Returns mixed —
isConnected() isConnected(\Swoole\Coroutine\Client $connection) : bool Whether the connection is established Parameters \Swoole\Coroutine\Client $connection Returns bool —
reset() reset(\Swoole\Coroutine\Client $connection, array $config) : mixed Reset the connection Parameters \Swoole\Coroutine\Client $connection array $config Returns mixed —
validate() validate(mixed $connection) : bool Validate the connection Parameters mixed $connection Returns bool —