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

Method connection_made

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

Source from the content-addressed store, hash-verified

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

Callers 1

cbMethod · 0.45

Calls 1

set_resultMethod · 0.45

Tested by

no test coverage detected