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

x/oak/middleware/proxy.ts>proxy

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
function proxy
import { proxy } from "https://deno.land/x/oak@v17.1.2/middleware/proxy.ts";

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

Parameters

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