Requests the given resource via HTTP and returns the response.
This method works almost exactly the same as the browser's native fetch function.
However, certain Open Pioneer Trails extensions (such as interceptors) are implemented on top of fetch
to enable new features.
For example, access tokens or other header / query parameters can be added automatically using an
interceptor if a package uses the HttpService.
See also fetch documentation for reference.
Optionalinit: HttpServiceRequestInit
Central service for sending HTTP requests.
Use the interface
"http.HttpService"to obtain an instance of this service.