Interface H2Settings

Represents various settings for HTTP/2 (h2) protocol.

interface H2Settings {
    ENABLE_PUSH?: boolean;
    HEADER_TABLE_SIZE?: number;
    INITIAL_WINDOW_SIZE?: number;
    MAX_CONCURRENT_STREAMS?: number;
    MAX_FRAME_SIZE?: number;
    MAX_HEADER_LIST_SIZE?: number;
}

Properties

ENABLE_PUSH?: boolean

Indicates whether server push is enabled in HTTP/2.

HEADER_TABLE_SIZE?: number

The size of the header compression table used in HTTP/2.

INITIAL_WINDOW_SIZE?: number

The initial window size for HTTP/2 data frames.

MAX_CONCURRENT_STREAMS?: number

The maximum number of concurrent streams allowed in HTTP/2.

MAX_FRAME_SIZE?: number

The maximum size of HTTP/2 frames.

MAX_HEADER_LIST_SIZE?: number

The maximum size of header list in HTTP/2.