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

x/superdeno/test/deps.ts>Oak.proxy

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
function Oak.proxy
import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { proxy } = Oak;

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

Parameters

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