Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/dts/lib.deno.unstable.d.ts>Deno.CreateHttpClientOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.CreateHttpClientOptions
import { type Deno } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.unstable.d.ts";
const { CreateHttpClientOptions } = Deno;

UNSTABLE: New API, yet to be vetted.

The options used when creating a Deno.HttpClient.

Properties

optional
caCerts: string[]

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.

optional
proxy: Proxy

A HTTP proxy to use for new connections.

optional
certChain: string

PEM formatted client certificate chain.

optional
privateKey: string

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