import { Context } from "https://deno.land/x/hono@v3.11.1/context.ts";
Constructors
new
Context(req: HonoRequest<P, I["out"]>, options?: ContextOptions<E>)Properties
private
_var: E["Variables"]private
notFoundHandler: NotFoundHandler<E>private
renderer: Rendererenv: E["Bindings"]
readonly
event: FetchEventLikereadonly
executionCtx: ExecutionContextget: Get<E>
redirect: (location: string, status?: StatusCode) => Response
render: Renderer
req: HonoRequest<P, I["out"]>
res: Response
deprecated
readonly
runtime: Runtimeset: Set<E>
setRenderer: (renderer: Renderer) => unknown
status: (status: StatusCode) => void
stream: () => Response
streamText: () => Response
readonly
var: Readonly<E["Variables"] & ContextVariableMap>