@@ -61,7 +61,7 @@ impl<S, C> Clone for Client<S, C> where
6161 }
6262}
6363
64- impl<Connector , C > Client<DropContextService <hyper ::client::Client <Connector, Body >, C>, C> where
64+ impl<Connector , C > Client<DropContextService <hyper_util ::client::legacy:: Client <Connector, BoxBody < Bytes, Infallible > >, C>, C> where
6565 Connector: hyper::client::connect::Connect + Clone + Send + Sync + 'static,
6666 C: Clone{ {#hasAuthMethods} }+ Has<Option <Authorization >>{ {/hasAuthMethods} } + Send + Sync + 'static
6767{
@@ -79,7 +79,7 @@ impl<Connector, C> Client<DropContextService<hyper::client::Client<Connector, Bo
7979 /// * `connector` - Implementation of `hyper::client::Connect` to use for the client
8080 pub fn new_with_connector(connector: Connector) -> Self
8181 {
82- let client_service = hyper ::client::Client::builder().build(connector);
82+ let client_service = hyper_util ::client::legacy ::Client::builder().build(connector);
8383 let client_service = DropContextService::new(client_service);
8484
8585 Self {
@@ -89,7 +89,7 @@ impl<Connector, C> Client<DropContextService<hyper::client::Client<Connector, Bo
8989 }
9090}
9191
92- impl<C > Client<DropContextService <hyper ::client::Client <hyper::client::HttpConnector, Body >, C>, C> where
92+ impl<C > Client<DropContextService <hyper_util ::client::legacy:: Client <hyper::client::HttpConnector, BoxBody < Bytes, Infallible > >, C>, C> where
9393 C: Clone{ {#hasAuthMethods} }+ Has<Option <Authorization >>{ {/hasAuthMethods} } + Send + Sync + 'static
9494{
9595 /// Create an HTTP client.
@@ -105,7 +105,7 @@ type HttpsConnector = hyper_tls::HttpsConnector<hyper::client::HttpConnector>;
105105#[cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))]
106106type HttpsConnector = hyper_openssl::HttpsConnector<hyper::client::HttpConnector >;
107107
108- impl<C > Client<DropContextService <hyper ::client::Client <HttpsConnector, Body >, C>, C> where
108+ impl<C > Client<DropContextService <hyper_util ::client::legacy:: Client <HttpsConnector, BoxBody < Bytes, Infallible > >, C>, C> where
109109 C: Clone{ {#hasAuthMethods} }+ Has<Option <Authorization >>{ {/hasAuthMethods} } + Send + Sync + 'static
110110{
111111 /// Create a client with a TLS connection to the server.
0 commit comments