Swoole\Client::close

(PECL swoole >= 1.9.0)

Swoole\Client::closeClose the connection established.

Description

publicSwoole\Client::close(bool$force = ?): bool

Parameters

force

Whether force to close the connection.

Return Values

Whether the connection is closed.

To Top