Interface: HTTPParams
@divine/uri.HTTPParams
HTTP configuration parameters.
Hierarchy
URIParams
↳
HTTPParams
Properties
agent
• Optional
agent: Agent
Agent to use for connection pooling.
Defined in
console
• Optional
console: Console
A Console to use for debug logging.
Inherited from
URIParams.console
Defined in
maxRedirects
• Optional
maxRedirects: number
The maximum number of 3xx redirects to allow before a request is cancelled.
Defined in
timeout
• Optional
timeout: number
The request timeout.
Defined in
tls
• Optional
tls: SecureContextOptions
& { rejectUnauthorized?
: boolean
; servername?
: string
}
SSL/TLS parameters.