tls.TLSSocket

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.

doc_Nodejs
2016-04-30 04:42:39
Comments
Leave a Comment

Please login to continue.