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

Method process_request

tests/asyncio/test_server.py:138–140  ·  view source on GitHub ↗
(ws, request)

Source from the content-addressed store, hash-verified

136 """Server runs process_request and continues the handshake."""
137
138 def process_request(ws, request):
139 self.assertIsInstance(request, Request)
140 ws.process_request_ran = True
141
142 async with serve(*args, process_request=process_request) as server:
143 async with connect(get_uri(server)) as client:

Callers

nothing calls this directly

Calls 2

respondMethod · 0.45
is_servingMethod · 0.45

Tested by

no test coverage detected