Swoole\Client::close

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

Swoole\Client::closeClose the connection established.

说锟斤拷

public Swoole\Client::close ([ bool $force ] ) : bool

锟斤拷锟斤拷

force

Whether force to close the connection.

锟斤拷锟斤拷值

Whether the connection is closed.