Skip to main content
Module

x/fastro/types.d.ts>MiddlewareArgument

Fast and simple web application framework for deno
Go to Latest
type alias MiddlewareArgument
import { type MiddlewareArgument } from "https://deno.land/x/fastro@v0.70.5/types.d.ts";
definition: (
request: HttpRequest,
response: HttpResponse,
next: Next,
) =>
| void
| Promise<void>
| string
| Promise<string>
| Promise<Response>
| any
| Promise<any>