= 1.9.0)Swoole\Server::protect — Set the connection to be protected mode.說(shuō)明public Swoole\Server::protect(int $fd, ">

Swoole\Server::protect

(PECL swoole >= 1.9.0)

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

說(shuō)明

public Swoole\Server::protect(int $fd, bool $is_protected = ?): void

參數(shù)

fd

is_protected

返回值