import { HonoContext } from "https://deno.land/x/hono@v2.0.8/context.ts";
Constructors
new
HonoContext(req: Request,
env?: E | undefined,
executionCtx?: FetchEvent | ExecutionContext | undefined,
notFoundHandler?: NotFoundHandler,
Properties
private
_res: Response | undefinedprivate
notFoundHandler: NotFoundHandler_status: StatusCode
env: E
req: Request<RequestParamKeyType>
res: Response
Methods
cookie(): void
get(key: string)
header(name: string, value: string): void
pretty(prettyJSON: boolean, space?: number): void
redirect(location: string, status?: StatusCode): Response
set(key: string, value: any): void
status(status: StatusCode): void