import { Context } from "https://deno.land/x/hono@v2.7.7/mod.ts";
Constructors
new
Context(env?: E["Bindings"],
executionCtx?: FetchEvent | ExecutionContext | undefined,
notFoundHandler?: NotFoundHandler<E>,
Properties
Methods
private
_finalizeHeaders(incomingHeaders: Headers): HeaderField[]get<Key extends keyof ContextVariableMap>(key: Key): ContextVariableMap[Key]
get<T>(key: string): T
set<Key extends keyof ContextVariableMap>(key: Key, value: ContextVariableMap[Key]): void
set(key: string, value: unknown): void