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

Method _sendSignal

client/scripts/network.js:341–345  ·  view source on GitHub ↗
(signal)

Source from the content-addressed store, hash-verified

339 }
340
341 _sendSignal(signal) {
342 signal.type = 'signal';
343 signal.to = this._peerId;
344 this._server.send(signal);
345 }
346
347 refresh() {
348 // check if channel is open. otherwise create one

Callers 2

_onDescriptionMethod · 0.95
_onIceCandidateMethod · 0.95

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected