dmccuskey / dmc-websockets

Corona SDK client library for the WebSocket protocol (RFC6455)
MIT License
11 stars 7 forks source link

add active PING and timeout #3

Open dmccuskey opened 9 years ago

dmccuskey commented 9 years ago

look at PR #2

params: keepalive=1000 retries=4

properties: connection.latency

n0ise9914 commented 6 years ago

hi, would you please add ping/pong feature, or tell me how to implement it?

chkuendig commented 6 years ago

See https://github.com/dmccuskey/dmc-websockets/pull/2 - this should be enough to get you started.

n0ise9914 commented 6 years ago

I implemented auto_reconnect and latency_calculation using low_level frame action's. See this pull request. Thanks, hope he accept's pull request, its working very well.