Ende.QuicTransportOptions
interface · experimental
interface Ende.QuicTransportOptionsUNSTABLE: New API, yet to be vetted.
Properties
keepAliveInterval
keepAliveInterval?: numberPeriod 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?: numberMaximum 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?: numberMaximum number of incoming bidirectional streams that may be open concurrently.
Default: 100
maxConcurrentUnidirectionalStreams
maxConcurrentUnidirectionalStreams?: numberMaximum 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"