It looks to me like the heartbeat parameter will determine how often you need to send a heartbeat frame; it's up to you to make sure that happens. I don't see that there is a way to get the server to tell you it's about to disconnect. You need to store somewhere in your program the last time you interacted with the server.
In reply to Re: check if conx to Net::RabbitMQ is still alive
by GotToBTru
in thread check if conx to Net::RabbitMQ is still alive
by perl_help26
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |