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

Method send_message

cartoon-camera/backend/main.py:39–40  ·  view source on GitHub ↗
(self, message: str, websocket: WebSocket)

Source from the content-addressed store, hash-verified

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

Callers 1

process_cartoon_wsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected