Skip to main content
Module

x/momentum/platform-oak/mod.ts>OakPlatform#setContextItem

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 OakPlatform.prototype.setContextItem
import { OakPlatform } from "https://deno.land/x/momentum@v0.8.2/platform-oak/mod.ts";

Parameters

kind:
| "body"
| "status"
| "cookie"
| "header"
| "state"
| "requestState"
context: RouterContext
value: any
optional
identifier: any
optional
options: any