A map of active requests, keyed by their unique identifiers.
PrivatedefaultDefault headers to include in all requests.
Private_Internal method for performing an HTTP fetch request.
The URL to fetch.
Options for configuring the request.
OptionalcancellationToken: HsCancellationTokenAn optional cancellation token to cancel the request.
A promise that resolves to the fetch response.
Creates an IHsFetchResponse object from the given event and transfer.
The URL event containing the response data.
The URL transfer object.
The normalized fetch response.
Performs an HTTP fetch request.
The URL to fetch.
Options for configuring the request.
OptionalcancellationToken: HsCancellationTokenAn optional cancellation token to cancel the request.
A promise that resolves to the fetch response.
PrivatelogLogs detailed failure information for service call failures.
The URL that was requested.
The request options that were used.
Optionalevent: ISGROURLEventThe URL event (if available) containing response details.
Optionalerror: ErrorThe error that occurred (if available).
PrivatenormalizeNormalizes response headers by converting all keys to lowercase.
The response headers.
The normalized headers.
HsFetchis a custom implementation of an HTTP client for managing asynchronous requests. It supports features like cancellation tokens, custom headers, and response normalization.