MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / send_message

Method send_message

ocr-ml-viewer/backend/main.py:38–39  ·  view source on GitHub ↗
(self, message: str, websocket: WebSocket)

Source from the content-addressed store, hash-verified

36 self.active_connections.remove(websocket)
37
38 async def send_message(self, message: str, websocket: WebSocket):
39 await websocket.send_text(message)
40
41 async def broadcast(self, message: str):
42 for connection in self.active_connections:

Callers 1

process_ocr_wsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected