MCPcopy Index your code
hub / github.com/RustPython/RustPython / send_close_notify

Method send_close_notify

crates/stdlib/src/ssl/compat.rs:348–353  ·  view source on GitHub ↗

Send close_notify alert

(&mut self)

Source from the content-addressed store, hash-verified

346
347 /// Send close_notify alert
348 pub fn send_close_notify(&mut self) {
349 match self {
350 TlsConnection::Client(conn) => conn.send_close_notify(),
351 TlsConnection::Server(conn) => conn.send_close_notify(),
352 }
353 }
354
355 /// Get negotiated ALPN protocol
356 pub fn alpn_protocol(&self) -> Option<&[u8]> {

Callers 2

shutdownMethod · 0.80
ssl_do_handshakeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected