Skip to main content

is_tls

Function is_tls 

Source
pub fn is_tls() -> Result<bool>
Expand description

Did the client complete TLS authentication?

Call this from the open method. It returns true if the client completed TLS authentication, or false if the connection is using plaintext.