MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / process_message

Method process_message

src/app/ws/service/ws_service.py:57–58  ·  view source on GitHub ↗
(self, user_id: str, message: dict[str, Any], websocket: WebSocket)

Source from the content-addressed store, hash-verified

55 for service in self.services:
56 await service.add_connection(user_id=user_id, websocket=websocket)
57 async def process_message(self, user_id: str, message: dict[str, Any], websocket: WebSocket) -> None:
58 await self._queue.put((user_id, message, websocket))
59
60 async def _handle_message(self, user_id: str, message: dict[str, Any], websocket: WebSocket) -> None:
61 tp = message.get("type", WSType.UNKNOWN.value)

Callers 2

_handle_messageMethod · 0.45
wssMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected