import { HonoRequest } from "https://deno.land/x/deno_nest@v3.15.1/modules/hono/deps.ts";
Constructors
Properties
Methods
private
getAllDecodedParams(): Record<string, string>private
getDecodedParam(key: string): string | undefinedprivate
getParamValue(paramKey: any): string | undefinedaddValidatedData(target: keyof ValidationTargets, data: { })
arrayBuffer(): Promise<ArrayBuffer>
.arrayBuffer()
parse Request body as an ArrayBuffer
header(name: string): string | undefined
.header()
can get the request header value.
header(): Record<string, string>
json<T = any>(): Promise<T>
.json()
can parse Request body of type application/json
.req.param()
gets the path parameters.
param(key: string): string | undefined
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(key: string): string | undefined
.query()
can get querystring parameters.
query(): Record<string, string>
text(): Promise<string>
.text()
can parse Request body of type text/plain