W3cubDocs

/Deno

Deno.TlsListener

Specialized listener that accepts TLS connections.

interface TlsListener extends Listener, AsyncIterable<TlsConn> {
[[Symbol.asyncIterator]](): AsyncIterableIterator<TlsConn>;
accept(): Promise<TlsConn>;
}

Extends

AsyncIterable<TlsConn>

Methods

[[Symbol.asyncIterator]](): AsyncIterableIterator<TlsConn>
accept(): Promise<TlsConn>

Waits for a TLS client to connect and accepts the connection.