Deno.CreateHttpClientOptions
UNSTABLE: New API, yet to be vetted.
The options used when creating a Deno.HttpClient
.
interface CreateHttpClientOptions {
allowHost?: boolean;
caCerts?: string[];
certChain?: string;
http1?: boolean;
http2?: boolean;
poolIdleTimeout?: number | false;
poolMaxIdlePerHost?: number;
privateKey?: string;
proxy?: Proxy;
}§Properties
§
caCerts?: string[]
[src]A list of root certificates that will be used in addition to the default root certificates to verify the peer's certificate.
Must be in PEM format.
§
poolIdleTimeout?: number | false
[src]Set an optional timeout for idle sockets being kept-alive. Set to false to disable the timeout.