port
{number} Default value foroptions.port
.host
{string} Default value foroptions.host
.options
{Object} See [tls.connect()
][].callback
{Function} See [tls.connect()
][].- Returns: {tls.TLSSocket}
Same as [tls.connect()
][] except that port
and host
can be provided
as arguments instead of options.
A port or host option, if specified, will take precedence over any port or host argument.