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

Method save_client_hello_from_bytes

crates/stdlib/src/ssl.rs:2668–2670  ·  view source on GitHub ↗

Save ClientHello data from PyObjectRef for potential connection recreation

(&self, bytes_data: &[u8])

Source from the content-addressed store, hash-verified

2666
2667 /// Save ClientHello data from PyObjectRef for potential connection recreation
2668 pub(crate) fn save_client_hello_from_bytes(&self, bytes_data: &[u8]) {
2669 *self.client_hello_buffer.lock() = Some(bytes_data.to_vec());
2670 }
2671
2672 /// Get the extracted SNI name from resolver
2673 pub(crate) fn get_extracted_sni_name(&self) -> Option<String> {

Callers 1

handshake_read_dataFunction · 0.80

Calls 3

to_vecMethod · 0.80
SomeClass · 0.50
lockMethod · 0.45

Tested by

no test coverage detected