Skip to main content
Module

x/create_react_app/deps.ts>oak.Middleware

Create React App with Deno
Latest
interface oak.Middleware
import { type oak } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { Middleware } = oak;

Middleware are functions which are chained together to deal with requests.

Type Parameters

optional
S extends State = Record<string, any>
optional
T extends Context = Context<S>

Call Signatures

(context: T, next: () => Promise<void>): Promise<void> | void