x/oak/context.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
interface ContextOptions
import { type ContextOptions } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/context.ts?p=prototype.%5BSymbol.for%28%22Deno.customInspect%22%29%5D&s=ContextOptions";

Options that can be supplied when creating a Context

Type Parameters

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

Properties

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