Swoole\Server::protect()

将连接设置为保护模式

首字母:S
适用版本(PECL swoole >= 1.9.0)

Swoole\Server::protect — 将连接设置为保护模式。

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

参数
fd
is_protected
返回值

同首字母函数