http-client
http-client copied to clipboard
Types and traits for http clients
Add a feature, to set `connection_cache_size` opt.
Kinda reverts https://github.com/http-rs/http-client/pull/48 Related to https://github.com/http-rs/surf/issues/237 Desirable for Surf-level config.
I was trying to use surf on tokio 1.0 executor. It seems the tokio library family needs to be upgraded to 1.0, including hyper 0.14 for this library.
this is also an async-h1 client issue, but ideally would be exposed at both the surf and http-client levels as well — users may want to upgrade a request made...
mostly making this pr to confirm that the build is fixed, since the important update would happen automatically
Hi! any chance you might want to expose the [`mod fetch`](https://github.com/http-rs/http-client/blob/main/src/wasm.rs#L76) publicly or make it a tiny crate? I started doing something similar and later I just plain copy-pasted the...
The wasm backend has a bunch of unwraps where proper propagation of the errors should be happening.
Ref https://github.com/http-rs/surf/issues/110, so folks can downcast if desired.