Swoole\Server
PHP Manual

Swoole\Server::close

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

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

说明

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

参数

fd

reset

返回值


Swoole\Server
PHP Manual