Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/dts/lib.deno.unstable.d.ts>Deno.ConnectTlsOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.ConnectTlsOptions
import { type Deno } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.unstable.d.ts";
const { ConnectTlsOptions } = Deno;

UNSTABLE: New API, yet to be vetted.

Properties

optional
certChain: string

UNSTABLE: New API, yet to be vetted.

PEM formatted client certificate chain.

optional
privateKey: string

UNSTABLE: New API, yet to be vetted.

PEM formatted (RSA or PKCS8) private key of client certificate.

optional
alpnProtocols: string[]

UNSTABLE: New API, yet to be vetted.

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