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

Method do_handshake

crates/stdlib/src/openssl.rs:2430–2435  ·  view source on GitHub ↗

Perform SSL handshake

(&mut self)

Source from the content-addressed store, hash-verified

2428
2429 // Perform SSL handshake
2430 fn do_handshake(&mut self) -> Result<(), ssl::Error> {
2431 match self {
2432 SslConnection::Socket(stream) => stream.do_handshake(),
2433 SslConnection::Bio(stream) => stream.do_handshake(),
2434 }
2435 }
2436
2437 // Write data to SSL connection
2438 fn ssl_write(&mut self, buf: &[u8]) -> Result<usize, ssl::Error> {

Callers

nothing calls this directly

Calls 15

newFunction · 0.85
convert_ssl_errorFunction · 0.85
set_verify_error_infoFunction · 0.85
cleanup_sni_ex_dataFunction · 0.85
timeout_error_msgFunction · 0.85
socket_closed_errorFunction · 0.85
sslMethod · 0.80
is_bioMethod · 0.80
isMethod · 0.80
timeout_deadlineMethod · 0.80
get_refMethod · 0.80
socket_needsMethod · 0.80

Tested by

no test coverage detected