Module

x/oak/context.ts>ContextOptions

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
interface ContextOptions
import { type ContextOptions } from "https://dotland.deno.dev/x/oak@v17.1.2/context.ts";

Options that can be supplied when creating a Context

Type Parameters

optional
S extends AS = State
optional
AS extends State = Record<string, any>

Properties

optional
jsonBodyReplacer: (
key: string,
value: unknown,
context: Context<S>,
) => unknown
optional
jsonBodyReviver: (
key: string,
value: unknown,
context: Context<S>,
) => unknown
optional
secure: boolean