You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rpcclient only allows you configure the http client but there is no way to set my own http client so if I want to define my own custom transport its not possible.
Solution
simple function to set the httpClient directly
As a general rule, we don't 'approve' suggestions. We can certainly discuss suggestions, but ultimately, we either approve or deny PRs. Obviously there are some suggestions that are far enough off from what we want that we can say we are very unlikely to accept a PR for it, but generally, it is code we evaluate.
Problem
The rpcclient only allows you configure the http client but there is no way to set my own http client so if I want to define my own custom transport its not possible.
Solution
simple function to set the
httpClient
directlybtcd/rpcclient/infrastructure.go
Line 152 in c4f3999
I would be happy to do a PR if this suggestion is approved
The text was updated successfully, but these errors were encountered: