MCPcopy
hub / github.com/witheve/Eve / sendControl

Method sendControl

src/client.ts:185–191  ·  view source on GitHub ↗
(message:string)

Source from the content-addressed store, hash-verified

183 }
184
185 sendControl(message:string) {
186 if(!this.localControl) {
187 this.socketSend(message);
188 } else {
189 // @TODO where do local control messages go?
190 }
191 }
192
193 save(documentId:string, code:string) {
194 this.sendControl(JSON.stringify({type: "save", path: documentId, code}));

Callers 1

saveMethod · 0.95

Calls 1

socketSendMethod · 0.95

Tested by

no test coverage detected