gateio / WebSocket-API

gateio WebSocket-API
58 stars 32 forks source link

Time synchronization between webcoket api server and own server #21

Open illusionoff opened 3 years ago

illusionoff commented 3 years ago

Hello. Tell me if there is a way to achieve time synchronization between the Api server, which subscribes to the Api via webcoket? There is a request, ping-pong, which, on command, sends the time to my server and receives a response for some time (I assume the time of the server). And what can this give? You can simply measure the time from sending to receiving a request.