Swoole\Server
PHP Manual

Swoole\Server::protect

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

Swoole\Server::protectSet the connection to be protected mode.

Description

public void Swoole\Server::protect ( integer $fd [, boolean $is_protected ] )

Liste de paramètres

fd

is_protected

Valeurs de retour


Swoole\Server
PHP Manual