Function fastly::handle::client_tls_protocol [−][src]
pub fn client_tls_protocol() -> Option<&'static str>
Expand description
Get the TLS protocol version used to secure the downstream client TLS connection.
Examples
assert_eq!(Request::from_client().get_tls_protocol().unwrap(), "TLSv1.2");