Skip to main content
Module

x/dactyl/deps.ts>Middleware

Web framework for Deno, built on top of Oak 🦇
Latest
interface Middleware
import { type Middleware } from "https://deno.land/x/dactyl@v0.1.0-alpha/deps.ts";

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: () => Promise<void>): Promise<void> | void