OxL Справочник OxL
РусскийEnglish

method TlsStream.cipher

The name of the negotiated cipher suite.

Example:

oxl✓ проверяется в CI
use std.net { TlsStream }

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

С версии. 1.0.0-beta

Возвращает

str

Эффекты

не объявлены (чистая, пока тело не говорит иное)

Определено в: std/net/tls.oxl:374

См. также