GoWebsocket icon indicating copy to clipboard operation
GoWebsocket copied to clipboard

Implement Reconnection, Ping interval, compression level for data

Open sacOO7 opened this issue 6 years ago • 1 comments

Implement reconnection using exponential backoff and plain reconnection timout. Implement Pinging to server and ping timeout for detecting connection issues. Implement compression level data setting.

sacOO7 avatar Mar 27 '18 18:03 sacOO7

Hi @sacOO7

How i reconect from this event

socket.OnConnectError = func(err error, socket gowebsocket.Socket) { log.Fatal("Received connect error - ", err) socket.Connect() }

projetoarduino avatar Jan 03 '19 12:01 projetoarduino