XMLHttpRequest
Properties
Type | Property | Description | Standard |
---|---|---|---|
number | status | http response status number [read]
| Avalon |
String | statusText | http response status text [read]
| Avalon |
String | responseText | http response body as String [read]
| Avalon |
Object | responseXML | http response body as XML Object [read]
| Avalon |
number | readyState | XMLHttpResponse status number [read].
| Avalon |
callback | onreadystatechange | callback function for asynchronous requests [write]
| Avalon |
Functions
Return type | Function | Description | Standard |
---|---|---|---|
void | open(String method, String url, Boolean async) | Prepares a new http request.
| Avalon |
String | setRequestHeader(String header, String value) |
Adds
| Avalon |
String | send(String ConvertType) |
| |
String | abort() | aborts an running asynchronous request.
| Avalon |
String | getResponseHeader(String header) |
Returns the value of
| Avalon |
String | getAllResponseHeaders() | Returns the value of all headers.
| Avalon |