HPA.Server Class
Server API - helper methods for client-server communication.
Methods
- getAppFolder
- getAppName
- request
- resourceUrl deprecated
Methods
request
(
async
-
opts
Send an HTTP request to the HPA server.
Special properties for requestObject:
uri: {String} the relative uri of the requested resource
appId: {String} [optional] unique app ID, useful in the event that the current app attempts to access another app
Important: Ajax server requests are asynchronous, and this call will return before the response has been received. Process any returned data in a callback function. Based on Sencha’s Ajax API. See also Sencha's documentation.
Parameters:
-
optsObjectfilled with relevant data in order to submit an http request
