Skip to main content
interface Deno.QuicListener
extendsAsyncIterable<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>
Back to top