MCPcopy Create free account
hub / github.com/python-websockets/websockets / process_response

Method process_response

tests/asyncio/test_server.py:250–253  ·  view source on GitHub ↗
(ws, request, response)

Source from the content-addressed store, hash-verified

248 """Server runs process_response but keeps the handshake response."""
249
250 def process_response(ws, request, response):
251 self.assertIsInstance(request, Request)
252 self.assertIsInstance(response, Response)
253 ws.process_response_ran = True
254
255 async with serve(*args, process_response=process_response) as server:
256 async with connect(get_uri(server)) as client:

Callers

nothing calls this directly

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected