Skip to content

DataClientOptions

apiKey: string

A delivery key. A server key reads everything in its partition and must never reach a browser; a browser-safe key is restricted to origins or addresses.


optional baseUrl?: string

Defaults to https://api.ebitex.io.


optional fetch?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defaults to the global fetch. Wrap it to add retries, a cache or tracing: the client adds none of its own.

(input, init?): Promise<Response>

MDN Reference

RequestInfo | URL

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | Request | URL

RequestInit

Promise<Response>