Skip to content

QuicTransportOptions

QuicTransportOptions = object

Defined in: net-quic/src/quic-options.ts:6

QUIC transport parameters this side announces, each bounding what the peer may make it hold. Shared by QuicListener and createQuicConnector.

readonly optional congestionControl?: "cubic" | "reno" | "bbr2"

Defined in: net-quic/src/quic-options.ts:32

Congestion controller. Defaults to cubic.


readonly idleTimeoutMs: number

Defined in: net-quic/src/quic-options.ts:11

Milliseconds without any packet after which the connection is dropped silently. The smaller of both sides’ values applies.


readonly maxBidirectionalStreams: number

Defined in: net-quic/src/quic-options.ts:20

Bidirectional streams the peer may have open at once.


readonly maxConnectionData: number

Defined in: net-quic/src/quic-options.ts:14

Bytes the peer may send, over all streams, before this side reads them.


readonly maxStreamData: number

Defined in: net-quic/src/quic-options.ts:17

Bytes the peer may send on one stream before this side reads them.


readonly optional maxUdpPayloadSize?: number

Defined in: net-quic/src/quic-options.ts:29

Largest UDP payload this side sends and accepts, from 1200 to 65527. Defaults to 1350, which crosses most paths unfragmented.


readonly maxUnidirectionalStreams: number

Defined in: net-quic/src/quic-options.ts:23

Unidirectional streams the peer may have open at once.