Class Garmin.RemoteTransfer
Garmin.RemoteTransfer
Defined in: GarminRemoteTransfer.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
Garmin.RemoteTransfer.MESSAGES
Error messages used by this class.
|
| Method Attributes | Method Name and Description |
|---|---|
|
Abort the active http request, if any.
|
|
|
openRequest(url, ajaxOptions)
Open a REST request to a web service.
|
Field Detail
<static>
Garmin.RemoteTransfer.MESSAGES
Error messages used by this class.
Method Detail
abortRequest()
Abort the active http request, if any.
openRequest(url, ajaxOptions)
Open a REST request to a web service. The result is returned (if any) along
with request status and any error info provided by the HTTP response.
- Parameters:
- url
- - the URL of the web service endpoint
- ajaxOptions
- - options used for the ajax call. Please see http://www.prototypejs.org/api/ajax/options.
- Returns:
- a response hash containing the AJAX response object, and an error message if there was one. Ids of the response elements are response and error.