import * as mod from "https://dotland.deno.dev/x/oak@v17.1.2/middleware.ts";
The internal middleware interfaces and abstractions used by oak.
Outside of the Middleware
interface, items are not generally
used by end users, but compose
can be used for advanced use
cases.
Functions
Compose multiple middleware functions into a single middleware function. | |
A type guard that returns true if the value is
|
Interfaces
Middleware are functions which are chained together to deal with requests. | |
Middleware objects allow encapsulation of middleware along with the ability to initialize the middleware upon listen. |
Type Aliases
Type that represents | |
T Next | A function for chaining middleware. |