AutobahnAndroid automatically responds to received Pings with Pongs.
A planned feature is having an option to do active heartbeating with
Pings so keep a (mobile) connection alive and for fast recognition of
The WebSocketWriter class (obviously) already implements sending Pings
and Pongs, and it would be trivial to expose that to the application.
I am not sure if thats good design though, since the idea is to mimick
the WebSocket API thats available in browsers - and you cannot send
Whats your use case?
Am 27.09.2012 06:45, schrieb Franklin Garcia:
Hi, I've been looking into this group and other sources (like
stackoverflow) related to this library and the option of sending the
Ping/Pong feature from Web Socket with no luck. I found that
WebSocketWritter does have the method to send a Message.Ping, but this
is not accessible through WebSocketClient.
Does Autobahn handle automatically Ping/Pong? How can we send Pings if
we need to?