Function ws_tool::connector::wrap_rustls

source ·
pub fn wrap_rustls<S: Read + Write + Sync + Send + Debug + 'static>(
    stream: S,
    host: &str,
    certs: Vec<PathBuf>
) -> Result<TlsStream<S>, WsError>
Expand description

start tls session