Skip to main content

SessionOptions

interface SessionOptions

Properties Jump to heading

optional
Jump to headingmaxDeflateDynamicTableSize: number | undefined
optional
Jump to headingmaxSessionMemory: number | undefined
optional
Jump to headingmaxHeaderListPairs: number | undefined
optional
Jump to headingmaxOutstandingPings: number | undefined
optional
Jump to headingmaxSendHeaderBlockLength: number | undefined
optional
Jump to headingpaddingStrategy: number | undefined
optional
Jump to headingpeerMaxConcurrentStreams: number | undefined
optional
Jump to headingsettings: Settings | undefined
optional
Jump to headingremoteCustomSettings: number[] | undefined
optional
Jump to headingunknownProtocolTimeout: number | undefined

Specifies a timeout in milliseconds that a server should wait when an ['unknownProtocol'][] is emitted. If the socket has not been destroyed by that time the server will destroy it.

optional
Jump to headingselectPadding(
frameLen: number,
maxFrameLen: number,
): number
Back to top