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.63/types.d.ts";

Properties

readonly
optional
name: string
readonly
optional
eager: boolean

Methods

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