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

Method sendTo

client/scripts/network.js:395–397  ·  view source on GitHub ↗
(peerId, message)

Source from the content-addressed store, hash-verified

393 }
394
395 sendTo(peerId, message) {
396 this.peers[peerId].send(message);
397 }
398
399 _onFilesSelected(message) {
400 this.peers[message.to].sendFiles(message.files);

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected