Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.42/server/types.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.