Skip to main content
Module

x/momentum/core/mod.ts>ServerPlatform#use

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
method ServerPlatform.prototype.use
Re-export
import { ServerPlatform } from "https://deno.land/x/momentum@v0.8.2/core/mod.ts";

Provide middleware into the application. The middleware can either be an instance of a @see MvMiddleware or a type that implements @see MvMiddleware which will be resolved by the platform resolver.