amqp-client.js icon indicating copy to clipboard operation
amqp-client.js copied to clipboard

Connection with websocket in browser : How to handle connection lost

Open guirak opened this issue 1 year ago • 0 comments

Hello,

I'm using the library as websocket with the tcp relay in a Nuxt application.

I'm trying to detect the lost of the connection stopping my tcp relay process but nothing happen. Looking the state of the amqp connection, channel and consumers, they stay in a not closed state.

How to be notified when something cause the close of the connection, the channel or the consumer ?

Thank you.

guirak avatar Mar 25 '24 13:03 guirak