Skip to main content
Module

x/momentum/static-files/deps.ts>ServerPlatform#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 ServerPlatform.prototype.setContextItem
Re-export
import { ServerPlatform } from "https://deno.land/x/momentum@v0.8.2/static-files/deps.ts";

Parameters

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

Returns

void | Promise<void>