if (event.action == "disconnect")
// do something
The idea is that you can subscribe to /cometd/meta. I use it to detect
reconnects, handshakes, etc. Take a look at the Cometd Chat demo.
On Feb 8, 2008 4:58 PM, mgorkani <mgork...@gmail.com> wrote:
> In cometd 6.1.6 it was possible to subscribe to /meta/disconnect
> channel. With 6.1.7 this doesn't seem to be supported. Any other way
> to be notified that a client has been disconnect without overwriting
> something in the actual cometd code?