Deno.ConnectTlsOptions

interface ConnectTlsOptions {
alpnProtocols?: string[];
certChain?: string;
privateKey?: string;
}

§Properties

§
alpnProtocols?: string[]
[src]

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.

§
certChain?: string
[src]

PEM formatted client certificate chain.

§
privateKey?: string
[src]

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