Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/momentum/core/action-result.ts

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
import * as momentum from "https://deno.land/x/momentum@v0.8.2/core/action-result.ts";

Classes

c
ActionResult
abstract

Base class that represents the result of a controller action

Represents a result of a controller with content

Represents a controller action result with a redirect

Represents a result of a controller action with a status code

Functions

Create a @see ContentResult

Create a @see RedirectResult

Create a @see StatusCodeResult