Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/live/deps.ts>MiddlewareHandler

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

Type Parameters

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