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

x/oak_http_proxy/test/deps.ts>Oak.Middleware

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
interface Oak.Middleware
import { type Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { Middleware } = Oak;

Middleware are functions which are chained together to deal with requests.

Type Parameters

optional
S extends State = Record<string, any>
optional
T extends Context = Context<S>

Call Signatures

(context: T, next: Next): Promise<unknown> | unknown