Skip to main content
interface Deno.ListenTlsOptions
implements ListenOptions

Properties

certFile: string

Path to a file containing a PEM formatted CA certificate. Requires --allow-read.

keyFile: string

Server public key file. Requires --allow-read.

optional
transport: "tcp"

Properties

optional
alpnProtocols: string[]

UNSTABLE: new API, yet to be vetted.

Application-Layer Protocol Negotiation (ALPN) protocols to announce to the client. If not specified, no ALPN extension will be included in the TLS handshake.