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

x/ayonli_jsext/lib.deno.d.ts>Deno.TlsConn

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.TlsConn
implements Conn
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { TlsConn } = Deno;

Properties

readonly
deprecated
rid: number

The resource ID of the connection.

Methods

handshake(): Promise<TlsHandshakeInfo>

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.