Skip to content

Commit

Permalink
document default behavior
Browse files Browse the repository at this point in the history
Co-authored-by: Wesley Rosenblum <[email protected]>
  • Loading branch information
goatgoose and WesleyRosenblum authored Dec 16, 2024
1 parent 3f13019 commit 9c998c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/s2n-tls-hyper/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub struct Builder<Http, ConnBuilder> {
}

impl<Http, ConnBuilder> Builder<Http, ConnBuilder> {
/// Allows communication with insecure HTTP endpoints in addition to secure HTTPS endpoints.
/// If enabled, allows communication with insecure HTTP endpoints in addition to secure HTTPS endpoints (default: false).
pub fn with_insecure_http(&mut self, enabled: bool) -> &mut Self {
self.insecure_http = enabled;
self
Expand Down

0 comments on commit 9c998c6

Please sign in to comment.