Using HttpClient with Custom Fetch Implementation in JavaScript

In the library I am using I can provide a custom fetch implementation. I get request: globalThis.Request as input and need to provide globalThis.Response as output.

Is it possible to use HttpClient for this? Like creating an HttpClientRequest from globalThis.Request?
Was this page helpful?