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

Method ssl_write

crates/stdlib/src/openssl.rs:2438–2443  ·  view source on GitHub ↗

Write data to SSL connection

(&mut self, buf: &[u8])

Source from the content-addressed store, hash-verified

2436
2437 // Write data to SSL connection
2438 fn ssl_write(&mut self, buf: &[u8]) -> Result<usize, ssl::Error> {
2439 match self {
2440 SslConnection::Socket(stream) => stream.ssl_write(buf),
2441 SslConnection::Bio(stream) => stream.ssl_write(buf),
2442 }
2443 }
2444
2445 // Read data from SSL connection
2446 fn ssl_read(&mut self, buf: &mut [u8]) -> Result<usize, ssl::Error> {

Callers 1

writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected