Skip to content

ClientRequestOptions

reference
1 min readUpdated

Kind: Type

Source: src/client/types.ts

Part of: Client

Definition

ts
{ fetch?: typeof fetch | HonoRequest webSocket?: (...args: ConstructorParameters<typeof WebSocket>) => WebSocket init?: RequestInit buildSearchParams?: BuildSearchParamsFn } & (keyof T extends never ? { headers?: | Record<string, string> | (() => Record<string, string> | Promise<Record<string, string>>) } : { headers: T | (() => T | Promise<T>) })

Was this page helpful?

Download as PDF
ClientRequestOptions — Hono (narrator proof)