Constructor
new AjaxConnector()
Extends
Methods
getId() → {string}
The data connector default id.
- Inherited From:
- Source:
Returns:
- Type
- string
getUrl() → {string}
The stream url.
- Inherited From:
- Source:
Returns:
- Type
- string
onError(event)
This is the callback method in case of getting error connection.
Parameters:
| Name | Type | Description |
|---|---|---|
event |
The error details |
onSuccess(event)
This is the callback method in case of getting success connection.
Parameters:
| Name | Type | Description |
|---|---|---|
event |
sendRequest(request)
Sends the request to the defined server.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
The Http request (as a String format) |