MCPcopy
hub / github.com/SnapDrop/snapdrop / sendJSON

Method sendJSON

client/scripts/network.js:101–103  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

99 }
100
101 sendJSON(message) {
102 this._send(JSON.stringify(message));
103 }
104
105 sendFiles(files) {
106 for (let i = 0; i < files.length; i++) {

Callers 6

_sendFileMethod · 0.95
_onPartitionEndMethod · 0.95
_sendProgressMethod · 0.95
_onFileReceivedMethod · 0.95
sendTextMethod · 0.95

Calls 1

_sendMethod · 0.45

Tested by

no test coverage detected