Module

x/oak/mod.ts>MiddlewareOrMiddlewareObject

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

Type that represents {@link Middleware} or {@link MiddlewareObject}.

Type Parameters

optional
S extends State = Record<string, any>
optional
T extends Context = Context<S>
definition: Middleware<S, T> | MiddlewareObject<S, T>