type alias Deno.Proxy
The definition for alternative transports (or proxies) in
Deno.CreateHttpClientOptions
.
Supported proxies:
- HTTP/HTTPS proxy: this uses the HTTP CONNECT method to tunnel HTTP requests through a different server.
- SOCKS5 proxy: this uses the SOCKS5 protocol to tunnel TCP connections through a different server.
- Unix domain socket: this sends all requests to a local Unix domain socket rather than a TCP socket. Not supported on Windows.
Definition #
{ transport?: "http"
| "https"
| "socks5"; url: string; basicAuth?: BasicAuth; } | { transport: "unix"; path: string; }