apiCall
apiCall: ((endpoint: string, method: "GET", d1: unknown, d2: unknown, options: Record<string, string | number | boolean>) => Promise<Uint8Array>)
Type declaration
-
- (endpoint: string, method: "GET", d1: unknown, d2: unknown, options: Record<string, string | number | boolean>): Promise<Uint8Array>
-
Parameters
-
endpoint: string
-
method: "GET"
-
d1: unknown
-
d2: unknown
-
options: Record<string, string | number | boolean>
Returns Promise<Uint8Array>
A proxy class that wraps around tile get calls. Used to avoid putting Nomic login logic in deepscatter while fetching tiles with authentication.