Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ run_server
Function
run_server
tests/sync/server.py:75–76 ·
view source on GitHub ↗
(handler=handler, **kwargs)
Source
from the content-addressed store, hash-verified
73
74
75
def
run_server(handler=handler, **kwargs):
76
return
run_server_or_router(serve, handler, **kwargs)
77
78
79
def
run_router(url_map, **kwargs):
Callers
15
test_receive_text_message
Method · 0.85
test_receive_binary_message
Method · 0.85
test_send_message
Method · 0.85
test_close_connection
Method · 0.85
test_server
Method · 0.85
test_server
Method · 0.85
test_server
Method · 0.85
test_unix_server
Method · 0.85
test_connection
Method · 0.85
test_existing_socket
Method · 0.85
test_compression_is_enabled
Method · 0.85
test_disable_compression
Method · 0.85
Calls
1
run_server_or_router
Function · 0.85
Tested by
15
test_receive_text_message
Method · 0.68
test_receive_binary_message
Method · 0.68
test_send_message
Method · 0.68
test_close_connection
Method · 0.68
test_server
Method · 0.68
test_server
Method · 0.68
test_server
Method · 0.68
test_unix_server
Method · 0.68
test_connection
Method · 0.68
test_existing_socket
Method · 0.68
test_compression_is_enabled
Method · 0.68
test_disable_compression
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…