We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68c7d05 commit 4030f86Copy full SHA for 4030f86
src/connector.rs
@@ -28,6 +28,13 @@ pub struct HttpsConnector<T> {
28
}
29
30
impl<T> HttpsConnector<T> {
31
+ /// Creates a [`crate::HttpsConnectorBuilder`] to configure a `HttpsConnector`.
32
+ ///
33
+ /// This is the same as [`crate::HttpsConnectorBuilder::new()`].
34
+ pub fn builder() -> builder::ConnectorBuilder<builder::WantsTlsConfig> {
35
+ builder::ConnectorBuilder::new()
36
+ }
37
+
38
/// Force the use of HTTPS when connecting.
39
///
40
/// If a URL is not `https` when connecting, an error is returned.
0 commit comments