Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/masx200_deno_http_middleware/src/createHandler.ts>createHandler

Deno 原生 HTTP 服务器的中间件框架
Go to Latest
function createHandler
import { createHandler } from "https://deno.land/x/masx200_deno_http_middleware@2.2.2/src/createHandler.ts";

Type Parameters

optional
T = { }

Parameters

optional
middleware: Middleware<T>[] | Middleware<T> = [UNSUPPORTED]
optional
unnamed 1: { notfoundHandler?: NotFoundHandler; errorHandler?: ErrorHandler; responseBuilder?: ResponseBuilder; retProcessor?: RetProcessor; } = [UNSUPPORTED]