|The HTTP method to use for the request. ex: |
|The request payload, can be a |
|The caching mode. |
|The referrer of the request.|
|Associated integrity metadata. Defaults to empty string.|
The Fetch standard defines requests, responses, and the process that binds them: fetching.
Among other interfaces, the standard defines
Response Objects, designed to be used for all operations involving network requests.
A useful application of these interfaces is
GlobalFetch, which can be used to load remote resources.
For browsers that do not yet support the Fetch standard, GitHub has a polyfill available. In addition, there is also a Node.js implementation that is useful for server/client consistency.
In the absence of cancelable Promises you can't abort the fetch request (github issue). But there is a proposal by the T39 in stage 1 for cancelable promises.