Skip to main content
Module

x/aleph/server/types.ts>Middleware

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

The Middleare for Aleph server.

Properties

readonly
optional
name: string

The middleware name.

Methods

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

The middleware fetch method.