Same as tls.connect() except that port and host can be provided as arguments instead of options.
Same as tls.connect() except that port and host can be provided as arguments instead of options.
Default value for options.port.
Optional default value for options.host.
See tls.connect().
See tls.connect().
connect(port[, host][, options][, callback])
The tls module provides an implementation of the Transport Layer Security (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL.
https://nodejs.org/dist/v7.6.0/docs/api/tls.html