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

Method set_protocol

Lib/asyncio/sslproto.py:97–98  ·  view source on GitHub ↗
(self, protocol)

Source from the content-addressed store, hash-verified

95 return self._ssl_protocol._get_extra_info(name, default)
96
97 def set_protocol(self, protocol):
98 self._ssl_protocol._set_app_protocol(protocol)
99
100 def get_protocol(self):
101 return self._ssl_protocol._app_protocol

Callers

nothing calls this directly

Calls 1

_set_app_protocolMethod · 0.80

Tested by

no test coverage detected