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

Method remove_tls12_session

crates/stdlib/src/ssl.rs:502–508  ·  view source on GitHub ↗
(&self, server_name: &ServerName<'static>)

Source from the content-addressed store, hash-verified

500 }
501
502 fn remove_tls12_session(&self, server_name: &ServerName<'static>) {
503 self.inner.remove_tls12_session(server_name);
504
505 // Also remove from Python cache
506 let key = server_name.to_str().as_bytes().to_vec();
507 self.session_cache.write().remove(&key);
508 }
509
510 fn insert_tls13_ticket(
511 &self,

Callers

nothing calls this directly

Calls 5

to_vecMethod · 0.80
to_strMethod · 0.80
as_bytesMethod · 0.45
removeMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected