The request helper to be used when making requests through ArcGIS objects.

interface ArcGISRequestHelper {
    batchLayerRequests: boolean;
    ttl: number;
    request<T>(url: string, options?: ArcGISRequestOptions): Promise<ArcGISRequestHelperResponse<T>>;
}

Implemented by

Properties

Methods

Properties

batchLayerRequests: boolean

If true, the first request for a single layer in a MapServer will cause all layers to be fetched at once.

ttl: number

The amount of time (in milliseconds) to cache the response for. The default is 30 seconds.

Methods