import { type Deno } from "https://deno.land/x/deno@v1.36.0/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.