import { type Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { MiddlewareObject } = Oak;
Middleware objects allow encapsulation of middleware along with the ability to initialize the middleware upon listen.
x/oak_http_proxy/test/deps.ts>Oak.MiddlewareObject
import { type Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { MiddlewareObject } = Oak;
Middleware objects allow encapsulation of middleware along with the ability to initialize the middleware upon listen.