MCPcopy
hub / github.com/jsfiddle/togetherjs / sendHello

Function sendHello

togetherjs/session.js:198–205  ·  view source on GitHub ↗
(helloBack)

Source from the content-addressed store, hash-verified

196 session.timeHelloSent = null;
197
198 function sendHello(helloBack) {
199 var msg = session.makeHelloMessage(helloBack);
200 if (! helloBack) {
201 session.timeHelloSent = Date.now();
202 peers.Self.url = msg.url;
203 }
204 session.send(msg);
205 }
206
207 session.makeHelloMessage = function (helloBack) {
208 var msg = {

Callers 2

session.jsFile · 0.70
hashchangeEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected