L.esri.Task is a generic class that provides the foundation for calling operations on ArcGIS Online and ArcGIS Server Services like query, find and identify.
Makes a request to the associated service. The service's URL will be combined with the path option and parameters will be serialized. Accepts an optional function context for the callback.
apikey(<String> apikey)
this
Adds an api key to this request if the service requires authentication. Will be added automatically if used with a service.
token(<String> token)
this
Adds a token to this request if the service requires authentication. Will be added automatically if used with a service.