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

Function hello

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

Source from the content-addressed store, hash-verified

7from websockets.legacy.client import connect
8
9async def hello():
10 uri = "ws://mary:p@ssw0rd@localhost:8765"
11 async with connect(uri) as websocket:
12 greeting = await websocket.recv()
13 print(greeting)
14
15asyncio.run(hello())

Callers 1

Calls 2

connectFunction · 0.90
recvMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…