Swoole\Server::protect

(PECL swoole >= 1.9.0)

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

Description

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

Parameters

fd

is_protected

Return Values

To Top