We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd300ac commit 14dd1bbCopy full SHA for 14dd1bb
src/h1/mod.rs
@@ -99,6 +99,10 @@ impl H1Client {
99
}
100
101
/// Create a new instance.
102
+ #[deprecated(
103
+ since = "6.5.0",
104
+ note = "This function is misnamed. Prefer `Config::max_connections_per_host` instead."
105
+ )]
106
pub fn with_max_connections(max: usize) -> Self {
107
#[cfg(features = "h1_client")]
108
assert!(max > 0, "max_connections_per_host with h1_client must be greater than zero or it will deadlock!");
0 commit comments