Skip to main content
SessionOptions - node__http2.d.ts - Node documentation
interface SessionOptions

Usage in Deno

```typescript import { type SessionOptions } from "node:node__http2.d.ts"; ```

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