From 507eb93f0e950c54238905172fb8fe7d5ffc1a7d Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Thu, 10 Mar 2022 11:53:34 +0100 Subject: [PATCH] Add connect struct to public api --- awc/CHANGES.md | 4 +++- awc/src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/awc/CHANGES.md b/awc/CHANGES.md index e8770723b..6d313ea2f 100644 --- a/awc/CHANGES.md +++ b/awc/CHANGES.md @@ -1,6 +1,8 @@ # Changes -## Unreleased - 2022-xx-xx +## Unreleased - 2023-xx-xx +### Changed +- `client::Connect` is now public to allow tunneling connection with `client::Connector`. ## 3.1.0 - 2023-01-21 diff --git a/awc/src/lib.rs b/awc/src/lib.rs index bb7f06c93..42f029669 100644 --- a/awc/src/lib.rs +++ b/awc/src/lib.rs @@ -139,7 +139,7 @@ pub mod http { } pub use self::builder::ClientBuilder; -pub use self::client::{Client, Connector}; +pub use self::client::{Client, Connect, Connector}; pub use self::connect::{BoxConnectorService, BoxedSocket, ConnectRequest, ConnectResponse}; pub use self::frozen::{FrozenClientRequest, FrozenSendBuilder}; pub use self::request::ClientRequest;