Swoole\Server::set

(PECL swoole >= 1.9.0)

Swoole\Server::setSet the runtime settings of the swoole server.

Description

public Swoole\Server::set ( array $settings ) : ReturnType

Set the runtime settings of the swoole server. The settings can be accessed by $server->setting when the swoole server has started.

Parameters

settings

Return Values