Manages the connection to the service, issuing requests against it. Relies on
Node's https
module for the actual connections. Extends
UnencryptedTransport
.
The port the service is listening on. Defaults to 443
.
Only if agent
is false
, set this to an object with the following
properties: pfx
, key
, passphrase
, cert
, ca
, ciphers
,
rejectUnauthorized
and secureProtocol
. Consult the Node
documentation
for details.
Calls out to Node's https
module to make a ClientRequest
instance.
Expects to be called with an options
object containing hostname
, port
,
agent
, method
, path
, headers
and auth
properties.
Will add any tls
properties (pfx
, key
, passphrase
, cert
, ca
,
ciphers
, rejectUnauthorized
and secureProtocol
) to options
.
Transport([options])