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

Class ClientProto

Lib/test/test_asyncio/test_ssl.py:522–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520 sock.close()
521
522 class ClientProto(asyncio.Protocol):
523 def connection_made(self, transport):
524 nonlocal connection_made_called
525 connection_made_called = True
526
527 def connection_lost(self, exc):
528 nonlocal connection_lost_called
529 connection_lost_called = True
530
531 async def client(addr):
532 await self.loop.create_connection(

Callers 1

clientMethod · 0.70

Calls

no outgoing calls

Tested by 1

clientMethod · 0.56