MCPcopy Create free account
hub / github.com/miguelgrinberg/python-socketio / main

Function main

examples/simple-client/async/fiddle_client.py:5–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4
5async def main():
6 async with socketio.AsyncSimpleClient() as sio:
7 await sio.connect('http://localhost:5000', auth={'token': 'my-token'})
8 print(await sio.receive())
9
10
11if __name__ == '__main__':

Callers 1

fiddle_client.pyFile · 0.70

Calls 2

connectMethod · 0.45
receiveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…