Swoole\Client
PHP Manual

Swoole\Client::close

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

Swoole\Client::closeClose the connection established.

Description

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

Liste de paramètres

force

Whether force to close the connection.

Valeurs de retour

Whether the connection is closed.


Swoole\Client
PHP Manual