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

Swoole\Server::close

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

Swoole\Server::closeClose a connection to the client.

说明

public Swoole\Server::close ( integer $fd [, boolean $reset ] ) : boolean

参数

fd

reset

返回值