A rewriter is a function which takes a RequestData and returns a (possibly) modified version of it. This would
typically be adding necessary Authentication headers, but in principle it can rewrite anything.
(A RequestRewriter can also reject a request by throwing an Aborted exception).
A default implementation of a RequestRewriter which always throws an Aborted error. (E.g. if the user
has not logged in yet, and all attempts to contact a server endpoint should be denied).
The various fetchers mimic the native
fetch
method, adding increasingly opinionated layers on top of it.