Closed mihneacalugaru closed 1 year ago
Hi @mihneacalugaru, thanks for opening a PR.
Rather than injecting custom headers via a property, they should be injected via a custom HttpClientHandler
or HttpMessageHandler
, something the library doesn't yet accommodate (but needs to).
Please see #10 instead
Add support for adding custom headers for HTTP request.
This proves to be useful when different nodes demand requests to be authenticated. For example, Infura demands a basic header-based authentication.