import { type MiddlewareObject } from "https://deno.land/x/oak@v14.1.1/middleware.ts";
Middleware objects allow encapsulation of middleware along with the ability to initialize the middleware upon listen.
x/oak/middleware.ts>MiddlewareObject
import { type MiddlewareObject } from "https://deno.land/x/oak@v14.1.1/middleware.ts";
Middleware objects allow encapsulation of middleware along with the ability to initialize the middleware upon listen.