Ende.TlsConn

interface

interface Ende.TlsConn extends Conn<NetAddr>

A TLS-encrypted stream connection over an IP-based transport.

Methods

handshake

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.