import { Context } from "https://dotland.deno.dev/x/hono@v3.0.0-0/context.ts";
Properties
private
_executionCtx: FetchEvent | ExecutionContext | undefinedprivate
optional
_req: HonoRequest<R, I>private
_res: Response | undefinedprivate
_status: StatusCodeprivate
notFoundHandler: NotFoundHandler<E, R>private
rawRequest: Requestenv: E["Bindings"]
readonly
executionCtx: ExecutionContextreadonly
req: HonoRequest<R, I>res: Response
Methods
private
_finalizeHeaders(incomingHeaders: Headers): HeaderField[]cookie(): void
get<Key extends keyof ContextVariableMap>(key: Key): ContextVariableMap[Key]
get<T>(key: string): T
header(): void
name: string,
value: string,
options?: { append?: boolean; },
jsonT<T>(): TypeResponse<T>
pretty(prettyJSON: boolean, space?: number): void
redirect(location: string, status?: StatusCode): Response
set<Key extends keyof ContextVariableMap>(key: Key, value: ContextVariableMap[Key]): void
set(key: string, value: unknown): void
status(status: StatusCode): void