deno / 1.23.2 / ~ / deno.tlsconn.html /

Deno.TlsConn

interface TlsConn extends Conn {
handshake() : Promise<TlsHandshakeInfo>;
}

Extends

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.

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.TlsConn