name | type | arguments | Default | description |
---|---|---|---|---|
responseType | XMLHttpRequestResponseType |
The response type of the XHR request, i.e. |
||
async | boolean | <optional> | true |
Should the XHR request use async or not? |
user | string | <optional> | '' |
Optional username for the XHR request. |
password | string | <optional> | '' |
Optional password for the XHR request. |
timeout | number | <optional> | 0 |
Optional XHR timeout value. |
headers | object | undefined | <optional> |
This value is used to populate the XHR |
|
header | string | undefined | <optional> |
This value is used to populate the XHR |
|
headerValue | string | undefined | <optional> |
This value is used to populate the XHR |
|
requestedWith | string | undefined | <optional> |
This value is used to populate the XHR |
|
overrideMimeType | string | undefined | <optional> |
Provide a custom mime-type to use instead of the default. |
|
withCredentials | boolean | <optional> | false |
The withCredentials property indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. Setting withCredentials has no effect on same-site requests. |