Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc: Support specifying HTTP client in RPC dialing (ethereum#15836)
* rpc: Support specifying HTTP client in RPC dialing Adds a minimal interface that captures http.Client and adds a new method rpc.DialHTTPClient that takes a client using that interface. The existing rpc.DialHTTP method is then alternatively implemented by using the new rpc.DialHTTPClient method provided with a standard *http.Client. * rpc: fix minor doc typos
- Loading branch information