WebSocket client API

Chris Hegarty chris.hegarty at oracle.com
Thu Sep 3 11:03:43 UTC 2015


On 3 Sep 2015, at 11:49, Andrej Golovnin <andrej.golovnin at gmail.com> wrote:

> Hi Chris,
> 
>> Will adding the ability to send ping(ByteBuffer) be sufficient for your usage? If so, then I think we should add it, but not pong.  The implementation will automatically send a pong message in response to receiving a ping. OK?
> 
> Yes, ping(ByteBuffer) is sufficient for us.

I assume you will also need a way to distinguish that the incoming data is from a pong message, in response to your ping, right?

-Chris.

> Best regards,
> Andrej Golovnin



More information about the net-dev mailing list