MCPcopy Create free account
hub / github.com/code3-dev/dengvpn / sendConnectionStats

Function sendConnectionStats

main.js:992–997  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

990
991// Function to get and send connection statistics
992async function sendConnectionStats() {
993 if (!isConnected || !win) return;
994
995 // Just trigger a ping measurement
996 measurePing();
997}
998
999// Optimized measurePing function with better error handling
1000async function measurePing() {

Callers 1

main.jsFile · 0.85

Calls 1

measurePingFunction · 0.85

Tested by

no test coverage detected