Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

Super-agent driven library for testing Deno HTTP servers.
Latest
function Oak.proxy
import { Oak } from "https://deno.land/x/superdeno@4.9.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>