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

x/hono/mod.ts>MiddlewareHandler

Lightweight, Ultrafast, Web Standards
Extremely Popular
Go to Latest
type alias MiddlewareHandler
import { type MiddlewareHandler } from "https://deno.land/x/hono@v3.7.1/mod.ts";

Type Parameters

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