Add connect struct to public api

This commit is contained in:
Joel Wurtz 2022-03-10 11:53:34 +01:00
parent 359d5d5c80
commit 507eb93f0e
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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;