A utilities/RequestHelper!RequestHelper for making requests to ArcGIS services.

The request helper supports caching of responses. To control how long responses are cached, set the ttl option when making requests.

Implements

Constructors

Properties

Methods

Constructors

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

  • Creates and returns a WebSocket object.

    Parameters

    • url: string

      The web socket URL.

    Returns WebSocket