method TlsStream.cipher
The name of the negotiated cipher suite.
Example:
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