import { HonoRequest } from "https://deno.land/x/danet@2.4.0/src/deps.ts";
Constructors
Properties
private
cachedBody: (key: keyof Body) => unknownMethods
private
getAllDecodedParams(): Record<string, string>private
getDecodedParam(key: string): string | undefinedprivate
getParamValue(paramKey: any): string | undefinedaddValidatedData(target: keyof ValidationTargets, data: { })
header(): Record<string, string>
param<P2 extends string = P>(key: RemoveQuestion<ParamKeys<P2>>): UndefinedIfHavingQuestion<ParamKeys<P2>>
.req.param()
gets the path parameters.
parseBody<T extends BodyData = BodyData>(options?: ParseBodyOptions): Promise<T>
.parseBody()
can parse Request body of type multipart/form-data
or application/x-www-form-urlencoded
queries(key: string): string[] | undefined
.queries()
can get multiple querystring parameter values, e.g. /search?tags=A&tags=B
queries(): Record<string, string[]>
query(): Record<string, string>