gusavila92 / java-android-websocket-client

Java/Android WebSocket Client
Apache License 2.0
148 stars 40 forks source link

How to respond server ping with a pong ? #5

Closed arpanbose closed 6 years ago

arpanbose commented 6 years ago

Using node.js I'm sending ping to the client

ws.ping();

I'm receiving the ping but how to send a pong in response ?

gusavila92 commented 6 years ago

Unfortunately, there is no way to send a pong frame now. I'll be working to fix this issue.

gusavila92 commented 6 years ago

You can download the new version 1.2.0. This version contains Ping and Pong frames. Check it out!