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

x/hono/mod.ts>MiddlewareHandler

Ultrafast web framework for the Edges
Extremely Popular
Go to Latest
type alias MiddlewareHandler
import { type MiddlewareHandler } from "https://deno.land/x/hono@v3.6.0/mod.ts";

Type Parameters

optional
E extends Env = any
optional
P extends string = any
optional
I extends Input = { }
definition: (c: Context<E, P, I>, next: Next) => Promise<Response | void>