Swoole\Server::protect

(PECL swoole >= 1.9.0)

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

说明

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

参数

fd

is_protected

返回值