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

Method _replace_transport

Lib/asyncio/streams.py:216–218  ·  view source on GitHub ↗
(self, transport)

Source from the content-addressed store, hash-verified

214 return self._stream_reader_wr()
215
216 def _replace_transport(self, transport):
217 self._transport = transport
218 self._over_ssl = transport.get_extra_info('sslcontext') is not None
219
220 def connection_made(self, transport):
221 if self._reject_connection:

Callers 1

start_tlsMethod · 0.80

Calls 1

get_extra_infoMethod · 0.45

Tested by

no test coverage detected