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

Method connection_made

Lib/test/test_asyncio/test_ssl.py:49–54  ·  view source on GitHub ↗
(self, transport)

Source from the content-addressed store, hash-verified

47 self.done = asyncio.Future(loop=loop)
48
49 def connection_made(self, transport):
50 self.transport = transport
51 assert self.state == 'INITIAL', self.state
52 self.state = 'CONNECTED'
53 if self.connected:
54 self.connected.set_result(None)
55
56 def data_received(self, data):
57 assert self.state == 'CONNECTED', self.state

Callers 1

cbMethod · 0.45

Calls 1

set_resultMethod · 0.45

Tested by

no test coverage detected