deno.com
interface Deno.QuicListener
extends AsyncIterable<QuicConn>
unstable

Specialized listener that accepts QUIC connections.

Properties #

The endpoint for this listener.

Methods #

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>