Fetches input with the handler registered for its scheme. A URL without a scheme goes to
the https handler.
Optionalinit: RequestInitThe response; rejects with a TypeError when no handler serves the scheme, as
fetch does for a URL it cannot reach. In a browser the default handlers reject with a
FormulaError.Blocked when the site responded but does not allow web pages to read it.
Serves a URL scheme with handler, replacing the handler it had.
The scheme, with or without its colon: 'https', 'resource:'.
A function that removes the registration.
The default IFetcher:
http:andhttps:through the globalfetch, and whatever else is registered.