Skip to content

Http2Settings

Http2Settings = object

Defined in: packages/format-http/src/h2/http2-settings.ts:5

The settings of one endpoint (RFC 9113 §6.5.2, RFC 8441 §3), each a limit it asks its peer to respect.

readonly enableConnectProtocol: boolean

Defined in: packages/format-http/src/h2/http2-settings.ts:25

Whether the sender accepts extended CONNECT (RFC 8441).


readonly enablePush: boolean

Defined in: packages/format-http/src/h2/http2-settings.ts:10

Whether the server may push. Always false from this implementation.


readonly headerTableSize: number

Defined in: packages/format-http/src/h2/http2-settings.ts:7

Largest HPACK dynamic table the sender’s decoder keeps.


readonly initialWindowSize: number

Defined in: packages/format-http/src/h2/http2-settings.ts:16

Initial flow-control window of every stream, in octets.


readonly maxConcurrentStreams: number

Defined in: packages/format-http/src/h2/http2-settings.ts:13

Most streams the peer may have open towards the sender at once.


readonly maxFrameSize: number

Defined in: packages/format-http/src/h2/http2-settings.ts:19

Largest frame payload the sender accepts, 16 384 to 16 777 215.


readonly maxHeaderListSize: number

Defined in: packages/format-http/src/h2/http2-settings.ts:22

Largest header list the sender accepts, counted as RFC 9113 §6.5.2.