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

x/aleph/types.d.ts>Middleware

The Full-stack Framework in Deno.
Go to Latest
interface Middleware
import { type Middleware } from "https://deno.land/x/aleph@1.0.0-alpha.12/types.d.ts";

Methods

fetch(request: Request, context: Context):
| Promise<Response | MiddlewareCallback | void>
| MiddlewareCallback
| void