Skip to main content

build_ssl_opts

Function build_ssl_opts 

Source
pub fn build_ssl_opts(ssl_mode: &SslMode) -> Option<SslOpts>
Expand description

Builds SSL options from our config.

This is a helper for testing; the main connect() function handles SSL inline.