hyper-rustls icon indicating copy to clipboard operation
hyper-rustls copied to clipboard

feat: add a builder() method to HttpsConnector

Open Fishrock123 opened this issue 1 year ago • 3 comments

It's become very idiomatic to have the builder api be accessed this way.

Fishrock123 avatar Mar 15 '24 21:03 Fishrock123

Not quite sure how to make rustdoc link those references correctly? 😕

Fishrock123 avatar Mar 15 '24 23:03 Fishrock123

See https://github.com/rustls/hyper-rustls/pull/260#issuecomment-2003318005.

djc avatar Mar 18 '24 09:03 djc

This PR could just as well be completely unrelated from the other two.

This is not necessary but is a common API idom for builder APIs in Rust.

Fishrock123 avatar Mar 19 '24 20:03 Fishrock123