PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

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.