Swoole\Server
PHP Manual

Swoole\Server::set

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

说明

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

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

参数

settings

返回值


Swoole\Server
PHP Manual