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

Method is_handshaking

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

Check if handshake is in progress

(&self)

Source from the content-addressed store, hash-verified

269impl TlsConnection {
270 /// Check if handshake is in progress
271 pub fn is_handshaking(&self) -> bool {
272 match self {
273 TlsConnection::Client(conn) => conn.is_handshaking(),
274 TlsConnection::Server(conn) => conn.is_handshaking(),
275 }
276 }
277
278 /// Check if connection wants to read data
279 pub fn wants_read(&self) -> bool {

Callers 2

ssl_do_handshakeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected