Skip to main content

Interface: ClientArgs

@ts-rest/core.ClientArgs

Hierarchy

Properties

api

Optional api: ApiFetcher

Defined in

libs/ts-rest/core/src/lib/client.ts:63


baseHeaders

Optional baseHeaders: Record<string, string | (options: FetchApiOptions) => string>

Defined in

libs/ts-rest/core/src/lib/client.ts:62


baseUrl

baseUrl: string

Inherited from

OverrideableClientArgs.baseUrl

Defined in

libs/ts-rest/core/src/lib/client.ts:55


credentials

Optional credentials: RequestCredentials

Inherited from

OverrideableClientArgs.credentials

Defined in

libs/ts-rest/core/src/lib/client.ts:56


jsonQuery

Optional jsonQuery: boolean

Inherited from

OverrideableClientArgs.jsonQuery

Defined in

libs/ts-rest/core/src/lib/client.ts:57


validateResponse

Optional validateResponse: boolean

Inherited from

OverrideableClientArgs.validateResponse

Defined in

libs/ts-rest/core/src/lib/client.ts:58