Skip to content

Instantly share code, notes, and snippets.

@Shilo Shilo/ping.js
Created Feb 26, 2018

Embed
What would you like to do?
Vylocity snippet to track ping/latency.
client
send data
Date.now()
Server
Send back Date.now()
Client
"Ping:"+ Date.now()-Math.float(Data)+"ms"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.