Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/live/deps.ts>MiddlewareHandler

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
type alias MiddlewareHandler
import { type MiddlewareHandler } from "https://deno.land/x/live@1.57.2/deps.ts";

Type Parameters

optional
State = Record<string, unknown>
definition: (req: Request, ctx: MiddlewareHandlerContext<State>) => Response | Promise<Response>