MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / wsLabel

Function wsLabel

lib/logger.js:50–53  ·  view source on GitHub ↗
(ws)

Source from the content-addressed store, hash-verified

48}
49
50function wsLabel(ws) {
51 const clientId = ws && ws._clientInstanceId ? ` client=${ws._clientInstanceId}` : '';
52 return `ws#${ws && ws._bridgeId ? ws._bridgeId : '?'}${clientId}`;
53}
54
55function isAuthenticatedClient(ws) {
56 return !!ws && ws.readyState === WebSocket.OPEN && !!ws._authenticated;

Callers 6

sendWsFunction · 0.85
broadcastFunction · 0.85
setClientApprovalModeFunction · 0.85
sendReplayFunction · 0.85
setupWebSocketServerFunction · 0.85
test-modules.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected