You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use the TLsConnectorBuilder to add a self signed certificate, and it appears that there's no default constructor for that struct. I know this is very minor, but I was wondering if either I didn't look properly, or if there was an opportunity to improve this api.
Hi,
I wanted to use the TLsConnectorBuilder to add a self signed certificate, and it appears that there's no default constructor for that struct. I know this is very minor, but I was wondering if either I didn't look properly, or if there was an opportunity to improve this api.
Currently I think I'd need to fill in all fields:
And I'd like to write something similar to:
I assume the default (either through
TlsConnectorBuilder::new()
orimpl Default for TlsConnectorBuilder
) would need to populate sensible values.I'd be happy to contribute.
Thank you
The text was updated successfully, but these errors were encountered: