Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ run_router
Function
run_router
tests/sync/server.py:79–80 ·
view source on GitHub ↗
(url_map, **kwargs)
Source
from the content-addressed store, hash-verified
77
78
79
def
run_router(url_map, **kwargs):
80
return
run_server_or_router(route, url_map, **kwargs)
81
82
83
@contextlib.contextmanager
Callers
10
test_router_matches_paths_and_extracts_parameters
Method · 0.85
test_route_with_query_string
Method · 0.85
test_redirect
Method · 0.85
test_secure_redirect
Method · 0.85
test_force_secure_redirect
Method · 0.85
test_force_redirect_server_name
Method · 0.85
test_not_found
Method · 0.85
test_process_request_returning_none
Method · 0.85
test_process_request_returning_response
Method · 0.85
test_custom_router_factory
Method · 0.85
Calls
1
run_server_or_router
Function · 0.85
Tested by
10
test_router_matches_paths_and_extracts_parameters
Method · 0.68
test_route_with_query_string
Method · 0.68
test_redirect
Method · 0.68
test_secure_redirect
Method · 0.68
test_force_secure_redirect
Method · 0.68
test_force_redirect_server_name
Method · 0.68
test_not_found
Method · 0.68
test_process_request_returning_none
Method · 0.68
test_process_request_returning_response
Method · 0.68
test_custom_router_factory
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…