import { Context } from "https://deno.land/x/hono@v3.0.1/context.ts";
Properties
private
_executionCtx: FetchEvent | ExecutionContext | undefinedprivate
_headers: Headers | undefinedprivate
optional
_req: HonoRequest<any, any>private
_res: Response | undefinedprivate
_status: StatusCodeprivate
notFoundHandler: NotFoundHandler<E>private
optional
rawRequest: Request | nullbody: () => Response
env: E["Bindings"]
readonly
executionCtx: ExecutionContextget: <Key extends keyof E["Variables"] | keyof ContextVariableMap>(key: Key) => GetVariable<Key, E>
html: () => Response
json: <T = object>() => Response
jsonT: <T = object>() => TypedResponse<T>
newResponse: () => Response
redirect: (location: string, status?: StatusCode) => Response
readonly
req: HonoRequest<P, I>res: Response
set: <Key extends keyof E["Variables"] | keyof ContextVariableMap>(key: Key, value: GetVariable<Key, E>) => void
status: (status: StatusCode) => void
text: () => Response