Module

x/aleph/server/types.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-beta.1/server/types.ts";

Properties

readonly
optional
name: string
readonly
optional
eager: boolean

Methods

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