Module

x/aleph/server/types.ts>Middleware

The Full-stack Framework in Deno.
Go to Latest
interface Middleware
import { type Middleware } from "https://dotland.deno.dev/x/aleph@1.0.0-beta.15/server/types.ts";

Properties

readonly
optional
name: string
readonly
optional
eager: boolean

Methods

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