Skip to main content
Deno.QuicListener - Deno documentation
interface Deno.QuicListener
extends AsyncIterable<QuicConn>
Unstable

Specialized listener that accepts QUIC connections.

Properties

The endpoint for this listener.

Methods

incoming(): Promise<QuicIncoming>

Waits for and resolves to the next incoming connection.

accept(): Promise<QuicConn>

Wait for the next incoming connection and accepts it.

stop(): void

Stops the listener. This does not close the endpoint.

[[Symbol.asyncIterator]](): AsyncIterableIterator<QuicConn>
Back to top