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

x/aleph/types.d.ts>Middleware

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

The Middleare for Aleph server.

Properties

readonly
optional
name: string

The middleware name.

Methods

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

The middleware fetch method.