import { HonoRequest } from "https://dotland.deno.dev/x/hono@v3.0.0-rc.12/request.ts";
Type Parameters
optional
I extends Input = { }Properties
private
validatedData: [K in keyof ValidationTypes]?: { }Methods
addValidatedData(type: keyof ValidationTypes, data: { })
blob()
cookie(key: string): string | undefined
formData()
header(name: string): string
header(): Record<string, string>
json<T = any>(): Promise<T>
param(key: RemoveQuestion<ParamKeys<P>>): UndefinedIfHavingQuestion<ParamKeys<P>>
queries(key: string): string[]
queries(): Record<string, string[]>
query(key: string): string
query(): Record<string, string>
text()
valid<T extends keyof ValidationTypes = I extends Record<infer R, unknown> ? R extends keyof ValidationTypes ? R : never : never>(type: T): InputToDataByType<I, T>
valid(): never