http-client
Types and traits for http clients.
6.5.3
7.5M downloads/mo
#3631 most downloaded on crates.io
http-rs/http-client
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 9 months
Most releases are documented
notes for 19 of 23 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
24 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
24 releases · Mar 2019 to Jun 2022Releases
latest 24-
6.5.320 Jun 2022Release notes
Open source →Deps
h1-clientnow usesdashmapat version5.x >, fixing an unsoundness issue.
-
6.5.210 May 2022 -
6.5.119 Aug 2021Release notes
Open source →Same as 6.5.0 with one change:
Config::max_connections_per_host()is now properly namedConfig::set_max_connections_per_host().Added
Confighas been stabilized and is now available by default!wasm_clientsupport forConfig(only timeouts).Config::max_connections_per_host(Supported onh1_clientandcurl_client.)
Deprecated
H1Client::with_max_connections()will be superseded byConfig::max_connections_per_host.
-
6.5.019 Aug 2021 withdrawnRelease notes
Open source →(Yanked)
Added
Confighas been stabilized and is now available by default!wasm_clientsupport forConfig(only timeouts).Config::max_connections_per_host(Supported onh1_clientandcurl_client.)
Deprecated
H1Client::with_max_connections()will be superseded byConfig::max_connections_per_host.
-
6.4.119 May 2021 -
6.4.018 May 2021Release notes
Open source →Added
- Added a new
unstable-configfeature, which exposes runtime configuration via a newConfigstruct.
Release notes
Open source →Added
- Added a new
unstable-configfeature, which exposes runtime configuration via a newConfigstruct.
- Added a new
-
6.3.512 Mar 2021Release notes
Open source →Fixed
- Multiple headers of the same name are now present with any client backend and not just
h1_client. - Connection when multiple IPs are present for a hostname not function with the
h1_clientbackend.
Release notes
Open source →Fixed
- Multiple headers of the same name are now present with any client backend and not just
h1_client. - Connection when multiple IPs are present for a hostname not function with the
h1_clientbackend.
- Multiple headers of the same name are now present with any client backend and not just
-
6.3.406 Mar 2021Release notes
Open source →Fixed
h1_clientconnection pools now properly check if connections are still alive before recycling them.- Like, actually properly this time.
- There is a test now to ensure closed connections don't cause errors.
Release notes
Open source →Fixed
h1_clientconnection pools now properly check if connections are still alive before recycling them.- Like, actually properly this time.
- There is a test now to ensure closed connections don't cause errors.
-
6.3.301 Mar 2021Release notes
Open source →Fixed
h1_clientconnection pools now properly check if connections are still alive before recycling them.
Release notes
Open source →Fixed
h1_clientconnection pools now properly check if connections are still alive before recycling them.
-
6.3.201 Mar 2021 -
6.3.115 Feb 2021Release notes
Open source →Fixed
- Allow http-client to build & run properly when
h1_clientis enabled without either tls option. - Prefer
rustlsif both tls features are enabled.
Internal
- More exhaustive CI for feature combinations.
- Allow http-client to build & run properly when
-
6.3.012 Feb 2021Release notes
Open source →Added
- Connection pooling (HTTP/1.1
keep-alive) forh1_client(default). native-tls(default) andrustlsfeature flags.- Only works with
h1_client.
- Only works with
- Isahc metrics as a response extension for
curl_client.
Fixed
Box<dyn HttpClient>no longer infinitely recurses.curl_clientnow always correctly reads the response body.hyper_clientshould now build correctly.WasmClientfetch from worker scope now works correctly.
Internal
- Improved CI
- Connection pooling (HTTP/1.1
-
6.2.026 Oct 2020Release notes
Open source →This release implements
HttpClientforBox<dyn HttpClient>.Added
impl HttpClient for Box<dyn HttpClient>
-
6.1.009 Oct 2020Release notes
Open source →This release brings improvements for
HyperClient(hyper_clientfeature).Added
HyperClientnow implsDefault.HyperClient::from_client(hyper::Client<C>).
Changed
HyperClientnow re-uses the internal client, allowing connection pooling.
-
6.0.025 Sep 2020Release notes
Open source →This release moves the responsibility of any client sharing to the user.
Changed
HttpClientimplementations no longerimpl Clone.- The responsibility for sharing is the user's.
H1Clientcan no longer be instatiated viaH1Client {}.::new()should be used.
-
5.0.118 Sep 2020 -
5.0.018 Sep 2020Release notes
Open source →This release includes an optional backend using hyper.rs, and uses async-trait for
HttpClient.Added
hyper_clientfeature, for using hyper.rs as the client backend.
Changed
HttpClientnow uses async-trait.- This attribute is also re-exported as
http_client::async_trait.
- This attribute is also re-exported as
Fixed
- Fixed WASM compilation.
- Fixed Isahc (curl) client translation setting duplicate headers incorrectly.
-
4.0.009 Jul 2020Release notes
Open source →This release allows
HttpClientto be used as a dynamic Trait object.HttpClient: removedClonebounds.HttpClient: removedErrortype.
-
3.0.029 May 2020Release notes
Open source →This patch updates
http-clienttohttp-types 2.0.0and a new version ofasync-h1.Changes
- http types and async-h1 for 2.0.0 #27
-
2.0.017 Apr 2020Release notes
Open source →Added
- Added a new backend:
h1-clienthttps://github.com/http-rs/http-client/pull/22
Changed
- All types are now based from
hyperium/httptohttp-typeshttps://github.com/http-rs/http-client/pull/22
- Added a new backend:
-
1.1.117 Dec 2019Nothing published for this version
-
1.1.017 Dec 2019Nothing published for this version
-
1.0.019 Nov 2019Nothing published for this version
-
0.0.029 Mar 2019Nothing published for this version