Optional
connectionThe maximum time in milliseconds that the connection phase of a request may take before the connection attempt is abandoned.
Defaults to 0, which disables the timeout.
Optional
httpYou can pass http.Agent or its constructor options.
Optional
httpsYou can pass https.Agent or its constructor options.
Optional
loggerOptional logger.
Optional
requestThe number of milliseconds a request can take before automatically being terminated. Defaults to 0, which disables the timeout.
Optional
socketDelay before the NodeHttpHandler checks for socket exhaustion, and emits a warning if the active sockets and enqueued request count is greater than 2x the maxSockets count.
Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set.
Optional
socketUse requestTimeout
The maximum time in milliseconds that a socket may remain idle before it is closed.
Represents the http options that can be passed to a node http client.