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
It would be good if folks doesn't have to do that when the default backend is used i.e, not tower middleware enabled on the client.
Such as:
/// JSON-RPC HTTP Client that provides functionality to perform method calls and notifications.#[derive(Debug,Clone)]pubstructHttpClient<S = HttpBackend>{/// HTTP transport client.transport:HttpTransportClient<S>,/// Request timeout. Defaults to 60sec.request_timeout:Duration,/// Request ID manager.id_manager:Arc<RequestIdManager>,}
After we added tower middleware support for the HttpClient one has to do:
It would be good if folks doesn't have to do that when the default backend is used i.e, not tower middleware enabled on the client.
Such as:
Code to change/fix https://github.com/paritytech/jsonrpsee/blob/master/client/http-client/src/client.rs#L236-#L245
The text was updated successfully, but these errors were encountered: