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

Method read_tls

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

Read TLS data from socket

(&mut self, reader: &mut dyn std::io::Read)

Source from the content-addressed store, hash-verified

293
294 /// Read TLS data from socket
295 pub fn read_tls(&mut self, reader: &mut dyn std::io::Read) -> std::io::Result<usize> {
296 match self {
297 TlsConnection::Client(conn) => conn.read_tls(reader),
298 TlsConnection::Server(conn) => conn.read_tls(reader),
299 }
300 }
301
302 /// Write TLS data to socket
303 pub fn write_tls(&mut self, writer: &mut dyn std::io::Write) -> std::io::Result<usize> {

Callers 4

try_read_close_notifyMethod · 0.80
ssl_read_tls_recordsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected