Ende.QuicListener
interface ยท experimental
interface Ende.QuicListener extends AsyncIterable<QuicIncoming>UNSTABLE: New API, yet to be vetted. Specialized listener that accepts QUIC connections.
Properties
endpoint
readonly endpoint: QuicEndpointThe endpoint for this listener.
Methods
incoming
incoming(): Promise<QuicIncoming>Waits for and resolves to the next incoming connection.
accept
accept(): Promise<QuicConn>Wait for the next incoming connection and accepts it.
stop
stop(): voidStops the listener. This does not close the endpoint.
[Symbol.asyncIterator]
[Symbol.asyncIterator](): AsyncIterableIterator<QuicIncoming>Iterates over the incoming connections received by the listener.