How Can I listen or subscribe to pusher:pong event using Vue pusher echo?

Viewed 12

I'm using the Vue + Laravel pusher in my Realtime app.
I realized that client sends "pusher:ping" event to backend and it responds with "pusher:pong" based on Doc.

I was wondering how can I detect if the socket connection is alive?
Is there a way to subscribe or listen to the protocol level events?

Thanks

0 Answers
Related