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

Method selected_alpn_protocol

Lib/ssl.py:1194–1199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1192
1193 @_sslcopydoc
1194 def selected_alpn_protocol(self):
1195 self._checkClosed()
1196 if self._sslobj is None or not _ssl.HAS_ALPN:
1197 return None
1198 else:
1199 return self._sslobj.selected_alpn_protocol()
1200
1201 @_sslcopydoc
1202 def cipher(self):

Callers

nothing calls this directly

Calls 2

_checkClosedMethod · 0.95

Tested by

no test coverage detected