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.
Properties
Section titled “Properties”congestionControl?
Section titled “congestionControl?”
readonlyoptionalcongestionControl?:"cubic"|"reno"|"bbr2"
Defined in: net-quic/src/quic-options.ts:32
Congestion controller. Defaults to cubic.
idleTimeoutMs
Section titled “idleTimeoutMs”
readonlyidleTimeoutMs: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.
maxBidirectionalStreams
Section titled “maxBidirectionalStreams”
readonlymaxBidirectionalStreams:number
Defined in: net-quic/src/quic-options.ts:20
Bidirectional streams the peer may have open at once.
maxConnectionData
Section titled “maxConnectionData”
readonlymaxConnectionData:number
Defined in: net-quic/src/quic-options.ts:14
Bytes the peer may send, over all streams, before this side reads them.
maxStreamData
Section titled “maxStreamData”
readonlymaxStreamData:number
Defined in: net-quic/src/quic-options.ts:17
Bytes the peer may send on one stream before this side reads them.
maxUdpPayloadSize?
Section titled “maxUdpPayloadSize?”
readonlyoptionalmaxUdpPayloadSize?: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.
maxUnidirectionalStreams
Section titled “maxUnidirectionalStreams”
readonlymaxUnidirectionalStreams:number
Defined in: net-quic/src/quic-options.ts:23
Unidirectional streams the peer may have open at once.