Swoole\Server::protect
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Set the connection to be protected mode.
Description
Swoole\Server::protect(int $fd, [bool $is_protected]): void
Parameters
fdis_protected