# ClientRequestOptions

**Kind:** Type

**Source:** [`src/client/types.ts`](https://github.com/honojs/hono/blob/main/src/client/types.ts#L32)

**Part of:** [Client](subsystem-src-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>) })
```
