Class Index | File Index

Classes


Class Garmin.RemoteTransfer

Garmin.RemoteTransfer
Defined in: GarminRemoteTransfer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
Garmin.RemoteTransfer.MESSAGES
Error messages used by this class.
Method Summary
Method Attributes Method Name and Description
 
Abort the active http request, if any.
 
openRequest(url, ajaxOptions)
Open a REST request to a web service.
Class Detail
Garmin.RemoteTransfer()
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.

Documentation generated by JsDoc Toolkit 2.0.0 on Mon Aug 17 2009 09:13:59 GMT-0700 (PDT)