MCPcopy Create free account
hub / github.com/IBM/mcp-cli / send

Method send

tests/apps/test_bridge.py:59–62  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

57 self._raise_on_send = False
58
59 async def send(self, msg: str) -> None:
60 if self._raise_on_send:
61 raise ConnectionError("ws closed")
62 self.sent.append(msg)
63
64 async def close(self) -> None:
65 self.closed = True

Callers 13

drain_pendingMethod · 0.45
push_tool_resultMethod · 0.45
push_tool_inputMethod · 0.45
ws_handlerMethod · 0.45
_on_client_connectedMethod · 0.45
broadcastMethod · 0.45
send_to_clientMethod · 0.45
sendToBridgeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected