Class: tls.TLSSocket
This is a wrapped version of net.Socket
that does transparent encryption of written data and all required TLS negotiation.
This instance implements the duplex Stream interface. It has all the common stream methods and events.
Methods that return TLS connection metadata (e.g. tls.TLSSocket.getPeerCertificate()
will only return data while the connection is open.
Please login to continue.