Class hamsters.runtime.sendRequest
Defined in: hamsters.js.
Constructor Attributes | Constructor Name and Description |
---|---|
hamsters.runtime.sendRequest(type, url, responseType, callback)
|
Class Detail
hamsters.runtime.sendRequest(type, url, responseType, callback)
- Parameters:
- {string} type
- - 'GET' || 'POST'
- {string} url
- - Url to connect to
- {string} responseType
- - 'ArrayBuffer','','blob','document','json','text'
- {string} callback
- - Callback to return response
- Returns: