import { HonoRequest } from "https://dotland.deno.dev/x/hono@v3.9.2/request.ts";
Constructors
Type Parameters
optional
I extends Input["out"] = { }Properties
private
_p: ParamIndexMap | Paramsprivate
_s: ParamStashprivate
vData: [K in keyof ValidationTargets]?: { }Methods
addValidatedData(target: keyof ValidationTargets, data: { })
arrayBuffer(): Promise<ArrayBuffer>
blob(): Promise<Blob>
deprecated
cookie(key: string): string | undefinedformData(): Promise<FormData>
header(name: string): string | undefined
header(): Record<string, string>
json<T = any>(): Promise<T>
param<P2 extends string = P>(key: RemoveQuestion<ParamKeys<P2>>): UndefinedIfHavingQuestion<ParamKeys<P2>>
param<P2 extends string = P>(): UnionToIntersection<ParamKeyToRecord<ParamKeys<P2>>>
parseBody<T extends BodyData = BodyData>(options?: ParseBodyOptions): Promise<T>
queries(key: string): string[] | undefined
queries(): Record<string, string[]>
query(key: string): string | undefined
query(): Record<string, string>
setParams(params: ParamIndexMap | Params)
text(): Promise<string>
valid<T extends keyof I & keyof ValidationTargets>(target: T): InputToDataByTarget<I, T>