diff --git a/src/client/client.rs b/src/client/client.rs index a219eb14..5545eab9 100644 --- a/src/client/client.rs +++ b/src/client/client.rs @@ -19,6 +19,9 @@ use crate::common::{exec::BoxSendFuture, lazy as hyper_lazy, task, Future, Lazy, use crate::rt::Executor; /// A Client to make outgoing HTTP requests. +/// +/// `Client` is cheap to clone and cloning is the recommended way to share a `Client`. The +/// underlying connection pool will be reused. #[cfg_attr(docsrs, doc(cfg(any(feature = "http1", feature = "http2"))))] pub struct Client { config: Config,