diff --git a/src/connector.rs b/src/connector.rs index 60e6617..37864da 100644 --- a/src/connector.rs +++ b/src/connector.rs @@ -28,6 +28,13 @@ pub struct HttpsConnector { } impl HttpsConnector { + /// Creates a [`crate::HttpsConnectorBuilder`] to configure a `HttpsConnector`. + /// + /// This is the same as [`crate::HttpsConnectorBuilder::new()`]. + pub fn builder() -> builder::ConnectorBuilder { + builder::ConnectorBuilder::new() + } + /// Force the use of HTTPS when connecting. /// /// If a URL is not `https` when connecting, an error is returned.