Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ echo
Function
echo
example/asyncio/echo.py:9–11 ·
view source on GitHub ↗
(websocket)
Source
from the content-addressed store, hash-verified
7
8
9
async
def
echo(websocket):
10
async
for
message in websocket:
11
await websocket.send(message)
12
13
14
async
def
main():
Callers
nothing calls this directly
Calls
1
send
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…