function Deno.listenTls
listenTls(options: ListenTlsOptions & TlsCertifiedKeyOptions): TlsListener
Listen announces on the local transport address over TLS (transport layer security).
using listener = Deno.listenTls({ port: 443, cert: Deno.readTextFileSync("./server.crt"), key: Deno.readTextFileSync("./server.key"), });
Requires allow-net
permission.
options: ListenTlsOptions & TlsCertifiedKeyOptions