import * as momentum from "https://deno.land/x/momentum@v0.8.2/core/mod.ts";
Classes
Base class that represents the result of a controller action | |
Represents a result of a controller with content | |
Wraps the platform specific context object with a standard interface | |
Represents a reference to an bootstrapped Momentum module | |
The Momentum platform is the entry point for every Momentum application. Each application has exactly one platform and services are bound the scope of the platform. | |
Represents a controller action result with a redirect | |
Represents an server-side error that can be relayed back to the client. :th | |
Momentum platform for server applications such as APIs and web applications. | |
Represents a result of a controller action with a status code |
Functions
f Body | Decorator that extracts an action argument as the full body of a request |
Create a @see ContentResult | |
Decorator that marks a class as a controller | |
Decorator that extracts an action argument from a cookie on the request | |
Creates a parameter decorator | |
f Ctx | Decorator that gets the underlying platform context object as a action argument |
Decorator that marks a controller method as a DELETE action | |
Decorator that applies a filter to a controller or action | |
f Get | Decorator that marks a controller method as a GET action |
f Head | Decorator that marks a controller method as a HEAD action |
Decorator that extracts an action argument from a header on the request | |
Decorator used to inject a logger | |
Decorator that marks a class as an MvModule and supplies configuration metadata. | |
Decorator that extracts an action argument from a route parameter | |
Decorator that marks a controller method as a PATCH action | |
Creates a new basic momentum platform | |
f Post | Decorator that marks a controller method as a POST action |
f Put | Decorator that marks a controller method as a PUT action |
Decorator that extracts an action argument from a query parameter of the request | |
Create a @see RedirectResult | |
f Req | Decorator that gets the underlying platform request object as a action argument |
f Res | Decorator that gets the underlying platform response object as a action argument |
Create a @see StatusCodeResult | |
Decorator that applies a transformer at a controller, action, or parameter level |
Interfaces
Interface that describes a filter. | |
Interface that describes a middleware. | |
Interface that describes a transformer | |
A lifecycle hook that is called after the platform is bootstrapped | |
A lifecycle hook that is called before the platform shuts down | |
A lifecycle hook that is called after a request is processed | |
A lifecycle hook that is called before a request is processed | |