function Deno.listenTls
allow-net

Listen announces on the local transport address over TLS (transport layer security).

const lstnr = Deno.listenTls({ port: 443, certFile: "./server.crt", keyFile: "./server.key" });

Requires allow-net permission.

Parameters

options: ListenTlsOptions[src]

Returns

TlsListener[src]