method Http2Session.settings
Usage in Deno
import { type Http2Session } from "node:http2";
Http2Session.settings(): void
Updates the current local settings for this Http2Session
and sends a new SETTINGS
frame to the connected HTTP/2 peer.
Once called, the http2session.pendingSettingsAck
property will be true
while the session is waiting for the remote peer to acknowledge the new
settings.
The new settings will not become effective until the SETTINGS
acknowledgment
is received and the 'localSettings'
event is emitted. It is possible to send
multiple SETTINGS
frames while acknowledgment is still pending.
void