DataClientOptions
Properties
Section titled “Properties”apiKey
Section titled “apiKey”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.
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defaults to https://api.ebitex.io.
fetch?
Section titled “fetch?”
optionalfetch?: {(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.
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”RequestInfo | URL
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | Request | URL
RequestInit
Returns
Section titled “Returns”Promise<Response>