Constructor
new Fetcher()
- Source:
Members
available
Properties:
Name |
Type |
Description |
available |
bool
|
resource availability |
- Source:
baseURL
Properties:
Name |
Type |
Description |
baseURL |
string
|
fetcher base URL |
- Source:
Methods
xhrRequest(url, formData, options) → {Promise}
Send XMLHttpRequest
TODO: use fetch API instead
Parameters:
Name |
Type |
Default |
Description |
url |
string
|
|
resource URL |
formData |
FormData
|
null
|
Formdata object |
options |
object
|
|
XMLHttpRequest options |
- Source:
Returns:
Promise object
-
Type
-
Promise