MCPcopy Index your code
hub / github.com/python/cpython / selected_npn_protocol

Method selected_npn_protocol

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

Source from the content-addressed store, hash-verified

1198
1199 @_sslcopydoc
1200 def selected_npn_protocol(self):
1201 self._checkClosed()
1202 warnings.warn(
1203 "ssl NPN is deprecated, use ALPN instead",
1204 DeprecationWarning,
1205 stacklevel=2
1206 )
1207 return None
1208
1209 @_sslcopydoc
1210 def selected_alpn_protocol(self):

Callers

nothing calls this directly

Calls 2

_checkClosedMethod · 0.95
warnMethod · 0.45

Tested by

no test coverage detected