Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

UNSTABLE: New API, yet to be vetted.

The definition of a proxy when specifying Deno.CreateHttpClientOptions.

Properties

url: string

The string URL of the proxy server to use.

optional
basicAuth: BasicAuth

The basic auth credentials to be used against the proxy server.