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.TlsConn

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

UNSTABLE: New API, yet to be vetted.

Methods

handshake(): Promise<TlsHandshakeInfo>

UNSTABLE: New API, yet to be vetted.

Runs the client or server handshake protocol to completion if that has not happened yet. Calling this method is optional; the TLS handshake will be completed automatically as soon as data is sent or received.