Module

x/oak/mod.ts>proxy

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
function proxy
import { proxy } from "https://dotland.deno.dev/x/oak@v14.1.0/mod.ts";

Middleware that provides a back-to-back proxy for requests.

Type Parameters

S extends State

Parameters

target: string | URL
optional
options: ProxyOptions<string, RouteParams<string>, S>

Returns

Middleware<S>