MCPcopy Index your code
hub / github.com/codeaashu/claude-code / sendJSON

Function sendJSON

src/server/web/public/terminal.js:8835–8837  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

8833 }
8834 url.searchParams.set("cols", String(term.cols));
8835 url.searchParams.set("rows", String(term.rows));
8836 return url.toString();
8837}
8838function sendJSON(msg) {
8839 if ((ws == null ? void 0 : ws.readyState) === WebSocket.OPEN) ws.send(JSON.stringify(msg));
8840}

Callers 3

initTerminalFunction · 0.70
connectFunction · 0.70
startPingFunction · 0.70

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected