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

Method send_message

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

Source from the content-addressed store, hash-verified

40 self.active_connections.remove(websocket)
41
42 async def send_message(self, message: str, websocket: WebSocket):
43 await websocket.send_text(message)
44
45 async def broadcast(self, message: str):
46 for connection in self.active_connections:

Callers 1

process_ocr_wsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected