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

Method write_tls

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

Write TLS data to socket

(&mut self, writer: &mut dyn std::io::Write)

Source from the content-addressed store, hash-verified

301
302 /// Write TLS data to socket
303 pub fn write_tls(&mut self, writer: &mut dyn std::io::Write) -> std::io::Result<usize> {
304 match self {
305 TlsConnection::Client(conn) => conn.write_tls(writer),
306 TlsConnection::Server(conn) => conn.write_tls(writer),
307 }
308 }
309
310 /// Process new TLS packets
311 pub fn process_new_packets(&mut self) -> Result<rustls::IoState, rustls::Error> {

Callers 5

shutdownMethod · 0.80
write_pending_tlsMethod · 0.80
handshake_write_loopFunction · 0.80
ssl_do_handshakeFunction · 0.80
ssl_write_tls_recordsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected