Function fastly::handle::client_tls_cipher_openssl_name
source · pub fn client_tls_cipher_openssl_name() -> Option<&'static str>
Expand description
Get the cipher suite used to secure the downstream client TLS connection, as a string, panicking if it is not UTF-8.
The value returned will be consistent with the OpenSSL name for the cipher suite.
Examples
assert_eq!(
fastly::handle::client_tls_cipher_openssl_name().unwrap(),
"ECDHE-RSA-AES128-GCM-SHA256"
);