Skip to main content
Deno.QuicTransportOptions - Deno documentation
interface Deno.QuicTransportOptions
Unstable

Properties

optional
keepAliveInterval: number = undefined

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.

optional
maxIdleTimeout: number = undefined

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.

optional
maxConcurrentBidirectionalStreams: number = 100

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

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

optional
congestionControl:
"throughput"
| "low-latency"
| "default"
= "default"

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

Back to top