Skip to main content
SessionOptions - http2 - Node documentation
interface SessionOptions

Usage in Deno

import { type SessionOptions } from "node:http2";

Properties

optional
maxDeflateDynamicTableSize: number | undefined
optional
maxSessionMemory: number | undefined
optional
maxHeaderListPairs: number | undefined
optional
maxOutstandingPings: number | undefined
optional
maxSendHeaderBlockLength: number | undefined
optional
paddingStrategy: number | undefined
optional
peerMaxConcurrentStreams: number | undefined
optional
settings: Settings | undefined
optional
remoteCustomSettings: number[] | undefined
optional
unknownProtocolTimeout: 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.

Methods

optional
selectPadding(
frameLen: number,
maxFrameLen: number,
): number
Back to top