@caido/quickjs-types / llrt/https
llrt/https
Classes
Agent
An Agent is responsible for managing connection persistence and reuse for HTTP clients. Currently only a small subset of the options are supported.
Constructors
Constructor
new Agent(
opts?:AgentOptions):Agent
Parameters
| Parameter | Type |
|---|---|
opts? | AgentOptions |
Returns
Interfaces
AgentOptions
Properties
ca?
Optionally override the trusted CA certificates. Default is to trust the well-known CAs curated by Mozilla. Mozilla's CAs are completely replaced when CAs are explicitly specified using this option.
rejectUnauthorized?
optionalrejectUnauthorized:boolean
Whether to reject unauthorized certificates. Default is true.
