Creates a promise for an asynchronous xml/http request on a given URL. If an URL is fetched successfully, the promise is resolved with the fetched data.
Uniform resource locator string referencing a file.
Request response type.
Creates a promise for an asynchronous xml/http request on a given URL. If an URL is fetched successfully, the promise is resolved with a parsed JSON object. An error code and message can be caught otherwise.
Uniform resource locator string referencing a JSON file.
Callback to a function that transforms the fetched data into an instance of targeted type.
Optional schema, that if specified, is used to validate the fetched json data.
Namespace that comprises various utils (also cleans up documentation).