Skip to main content
Module

x/live/mod.ts>AppMiddleware

Deno Compose is a modern web framework and visual editor for high-performance sites.
Very Popular
Go to Latest
type alias AppMiddleware
import { type AppMiddleware } from "https://deno.land/x/live@1.45.10/mod.ts";

Type Parameters

optional
TApp extends App = any
optional
TProps = any
optional
TResponse = any
definition: (
props: TProps,
req: Request,
ctx: AppMiddlewareContext<TApp, TResponse>,
) => Promise<TResponse>