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
/// This is a shortcut for `Builder::new().handshake(io)`.
120
125
/// See [`client::conn`](crate::client::conn) for more.
126
+
#[cfg_attr(
127
+
feature = "deprecated",
128
+
deprecated(
129
+
note = "This function will be replaced with `client::conn::http1::handshake` and `client::conn::http2::handshake` in 1.0, enable the \"backports\" feature to use them now."
note = "This type will be replaced with `client::conn::http1::SendRequest` and `client::conn::http2::SendRequest` in 1.0, enable the \"backports\" feature to use them now."
/// In most cases, this should just be spawned into an executor, so that it
138
157
/// can process incoming and outgoing messages, notice hangups, and the like.
139
158
#[must_use = "futures do nothing unless polled"]
159
+
#[cfg_attr(
160
+
feature = "deprecated",
161
+
deprecated(
162
+
note = "This type will be replaced with `client::conn::http1::Connection` and `client::conn::http2::Connection` in 1.0, enable the \"backports\" feature to use them now."
163
+
)
164
+
)]
140
165
pubstructConnection<T,B>
141
166
where
142
167
T:AsyncRead + AsyncWrite + Send + 'static,
@@ -149,6 +174,12 @@ where
149
174
///
150
175
/// After setting options, the builder is used to create a handshake future.
151
176
#[derive(Clone,Debug)]
177
+
#[cfg_attr(
178
+
feature = "deprecated",
179
+
deprecated(
180
+
note = "This type will be replaced with `client::conn::http1::Builder` and `client::conn::http2::Builder` in 1.0, enable the \"backports\" feature to use them now."
0 commit comments