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

Method _send

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

Source from the content-addressed store, hash-verified

334 }
335
336 _send(message) {
337 if (!this._channel) return this.refresh();
338 this._channel.send(message);
339 }
340
341 _sendSignal(signal) {
342 signal.type = 'signal';

Callers

nothing calls this directly

Calls 2

refreshMethod · 0.95
sendMethod · 0.80

Tested by

no test coverage detected