Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
function composeMiddlewares
import { composeMiddlewares } from "https://deno.land/x/fresh@1.6.2/src/server/compose.ts";

Identify which middlewares should be applied for a request, chain them and return a handler response

Parameters

middlewares: MiddlewareRoute[]
errorHandler: ErrorHandler
paramsAndRoute: (url: URL) => RouteResult
renderNotFound: UnknownRenderFunction
basePath: string