Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/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.32.3/cli/tsc/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.