Ende.QuicTransportOptions

interface · experimental

interface Ende.QuicTransportOptions

UNSTABLE: New API, yet to be vetted.

Properties

keepAliveInterval

keepAliveInterval?: number

Period of inactivity before sending a keep-alive packet. Keep-alive packets prevent an inactive but otherwise healthy connection from timing out. Only one side of any given connection needs keep-alive enabled for the connection to be preserved.

Default: undefined

maxIdleTimeout

maxIdleTimeout?: number

Maximum duration of inactivity to accept before timing out the connection. The true idle timeout is the minimum of this and the peer’s own max idle timeout.

Default: undefined

maxConcurrentBidirectionalStreams

maxConcurrentBidirectionalStreams?: number

Maximum number of incoming bidirectional streams that may be open concurrently.

Default: 100

maxConcurrentUnidirectionalStreams

maxConcurrentUnidirectionalStreams?: number

Maximum number of incoming unidirectional streams that may be open concurrently.

Default: 100

congestionControl

congestionControl?: "throughput" | "low-latency" | "default"

The congestion control algorithm used when sending data over this connection.

Default: "default"