We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68c7d05 commit be05a64Copy full SHA for be05a64
src/connector.rs
@@ -34,6 +34,13 @@ impl<T> HttpsConnector<T> {
34
pub fn enforce_https(&mut self) {
35
self.force_https = true;
36
}
37
+
38
+ /// Creates a [`HttpsConnectorBuilder`] to configure a `HttpsConnector`.
39
+ ///
40
+ /// This is the same as [`HttpsConnector::new()`].
41
+ pub fn builder() -> builder::ConnectorBuilder<builder::WantsTlsConfig> {
42
+ builder::ConnectorBuilder::new()
43
+ }
44
45
46
impl<T> Service<Uri> for HttpsConnector<T>
0 commit comments