mana-ethereum / ethereumex

Elixir JSON-RPC client for the Ethereum blockchain 0x063D3d782598744AF1252eBEaf3aA97D990Edf72
MIT License
378 stars 73 forks source link

add http_headers as optional param #111

Closed gregors closed 2 years ago

gregors commented 2 years ago

Issue #96 added support for http headers to be added (for basic auth) Issue #99 was initially asked for multiple endpoints - however, the solution is to just pass in the URL as an option.

Currently, we don't allow passing in headers as well as the url to auth against multiple different endpoints. I think this is the correct fix. Feedback appreciated.