MCPcopy Index your code
hub / github.com/python-websockets/websockets / hello

Function hello

example/asyncio/hello.py:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9async def hello():
10 async with connect("ws://localhost:8765") as websocket:
11 await websocket.send("Hello world!")
12 message = await websocket.recv()
13 print(message)
14
15
16if __name__ == "__main__":

Callers 1

hello.pyFile · 0.70

Calls 3

connectFunction · 0.90
sendMethod · 0.45
recvMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…