Skip to main content
Module

x/hono/types.ts>MiddlewareHandler

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
type alias MiddlewareHandler
import { type MiddlewareHandler } from "https://deno.land/x/hono@v4.0.3/types.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>