Skip to content

Commit 9e892ee

Browse files
author
Milan Pässler
committed
allow to manually construct a HttpsConnector
Fix until rustls#107 is merged
1 parent 3f16ac4 commit 9e892ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ type BoxError = Box<dyn std::error::Error + Send + Sync>;
1818
/// A Connector for the `https` scheme.
1919
#[derive(Clone)]
2020
pub struct HttpsConnector<T> {
21-
http: T,
22-
tls_config: Arc<ClientConfig>,
21+
pub http: T,
22+
pub tls_config: Arc<ClientConfig>,
2323
}
2424

2525
#[cfg(all(

0 commit comments

Comments
 (0)