MCPcopy Create free account
hub / github.com/miguelgrinberg/python-socketio / send

Function send

examples/server/javascript/latency_public/index.js:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22const socket = io();
23let last;
24function send () {
25 last = new Date();
26 socket.emit('ping_from_client');
27 $('transport').innerHTML = socket.io.engine.transport.name;
28}
29
30socket.on('connect', () => {
31 if ($('chart').getContext) {

Callers 1

index.jsFile · 0.70

Calls 2

$Function · 0.85
emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…