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

Method ssl

crates/stdlib/src/openssl.rs:2409–2414  ·  view source on GitHub ↗

Get a reference to the SSL object

(&self)

Source from the content-addressed store, hash-verified

2407 impl SslConnection {
2408 // Get a reference to the SSL object
2409 fn ssl(&self) -> &ssl::SslRef {
2410 match self {
2411 SslConnection::Socket(stream) => stream.ssl(),
2412 SslConnection::Bio(stream) => stream.ssl(),
2413 }
2414 }
2415
2416 // Get underlying socket stream reference (only for socket mode)
2417 fn get_ref(&self) -> Option<&SocketStream> {

Callers 13

_wrap_socketMethod · 0.80
_wrap_bioMethod · 0.80
getpeercertMethod · 0.80
get_unverified_chainMethod · 0.80
get_verified_chainMethod · 0.80
pendingMethod · 0.80
get_channel_bindingMethod · 0.80
shutdownMethod · 0.80
do_handshakeMethod · 0.80
sessionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected