Deno.CreateHttpClientOptions

UNSTABLE: New API, yet to be vetted. The options used when creating a [HttpClient].

interface CreateHttpClientOptions {
caCerts?: string[];
certChain?: string;
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.

§
certChain?: string
[src]

PEM formatted client certificate chain.

§
privateKey?: string
[src]

PEM formatted (RSA or PKCS8) private key of client certificate.

§
proxy?: Proxy
[src]

A HTTP proxy to use for new connections.