Skip to content

Commit

Permalink
allow to manually construct a HttpsConnector
Browse files Browse the repository at this point in the history
Fix until rustls#107 is merged
  • Loading branch information
Milan Pässler committed May 31, 2021
1 parent 3f16ac4 commit 9e892ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type BoxError = Box<dyn std::error::Error + Send + Sync>;
/// A Connector for the `https` scheme.
#[derive(Clone)]
pub struct HttpsConnector<T> {
http: T,
tls_config: Arc<ClientConfig>,
pub http: T,
pub tls_config: Arc<ClientConfig>,
}

#[cfg(all(
Expand Down

0 comments on commit 9e892ee

Please sign in to comment.