(PECL swoole >= 1.9.0)
Swoole\Server\Port::set — Set protocol of the server port.
$settings
settings