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

Method send_message

ml-yolo/backend/main.py:41–42  ·  view source on GitHub ↗
(self, message: str, websocket: WebSocket)

Source from the content-addressed store, hash-verified

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

Callers 1

process_yolov5_wsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected