import { type Context } from "https://deno.land/x/hono@v2.1.4/mod.ts";
Properties
req: Request<RequestParamKeyType>
env: E["Bindings"]
set: { <Key extends keyof ContextVariableMap>(key: Key, value: ContextVariableMap[Key]): void; <Key extends keyof E["Variables"]>(key: Key, value: E["Variables"][Key]): void; (key: string, value: any): void; }
get: { <Key extends keyof ContextVariableMap>(key: Key): ContextVariableMap[Key]; <Key extends keyof E["Variables"]>(key: Key): E["Variables"][Key]; <T = any>(key: string): T; }
redirect: (location: string, status?: StatusCode) => Response