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

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