Optional
authOptional
contentOptional
dataOptional
encodingOptional
headersOptional
paramsOptional
queryOptional
rejectIf true
, the server certificate is verified against the list of supplied CAs.
Default: true
.
https://nodejs.org/api/tls.html#tls_tls_connect_options_callback
Optional
strictSSLif true
, requires SSL certificates be valid.
Defaul: true
;
Optional
timeoutGenerated using TypeDoc
The encoding to be used on response data.
If null, the body is returned as a Buffer. Anything else (including the default value of undefined) will be passed as the encoding parameter to toString() (meaning this is effectively 'utf8' by default). (Note: if you expect binary data, you should set encoding: null.)