Module script::fetch

source ·

Structs

RAII fetch canceller object. By default initialized to not having a canceller in it, however you can ask it for a cancellation receiver to send to Fetch in which case it will store the sender. You can manually cancel it or let it cancel on Drop in that case.

Functions

https://html.spec.whatwg.org/multipage/#create-a-potential-cors-request
Convenience function for synchronously loading a whole resource.