server.updateSettings([settings])


用于使用提供的设置更新服务器。

¥Used to update the server with the provided settings.

为无效的 settings 值抛出 ERR_HTTP2_INVALID_SETTING_VALUE

¥Throws ERR_HTTP2_INVALID_SETTING_VALUE for invalid settings values.

为无效的 settings 参数抛出 ERR_INVALID_ARG_TYPE

¥Throws ERR_INVALID_ARG_TYPE for invalid settings argument.