Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ main
Function
main
example/asyncio/echo.py:14–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
13
14
async
def
main():
15
async
with
serve(echo,
"localhost"
, 8765)
as
server:
16
await server.serve_forever()
17
18
19
if
__name__ ==
"__main__"
:
Callers
1
echo.py
File · 0.70
Calls
2
serve
Function · 0.90
serve_forever
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…