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 most commonly used http transport is reqwest::Client, currently it's required to provide the type:
let http = Http::<Client>::new(url);
this requires to always pull in reqwest.
I think it would be reasonable to move the new function to impl Http<reqwest::Client>, there is already Http::with_client that is sufficient for all other use cases.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
rpc
Describe the feature you would like
the most commonly used http transport is reqwest::Client, currently it's required to provide the type:
let http = Http::<Client>::new(url);
this requires to always pull in reqwest.
I think it would be reasonable to move the
new
function toimpl Http<reqwest::Client>
, there is alreadyHttp::with_client
that is sufficient for all other use cases.Additional context
No response
The text was updated successfully, but these errors were encountered: