Skip to main content

QuicTransportOptions

interface Deno.QuicTransportOptions
unstable

Properties Jump to heading

optional
Jump to headingkeepAliveInterval: 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
Jump to headingmaxIdleTimeout: 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.

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

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

optional
Jump to headingcongestionControl:
"throughput"
| "low-latency"
| "default"
= "default"

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

Back to top