OxL Reference

method TlsStream.cipher

The name of the negotiated cipher suite.

Example:

oxl✓ checked in CI
use std.net { TlsStream }

fn suite(s: &TlsStream) -> str {
  s.cipher()
}
pub(api) fn cipher() -> str

Since. 1.0.0-beta

Returns

str

Effects

none declared (pure unless the body says otherwise)

Defined in: std/net/tls.oxl:374

See also