Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
_onDescription
Method · 0.95
_onIceCandidate
Method · 0.95
Calls
1
send
Method · 0.80
Tested by
no test coverage detected