I have a node server that connects to RabbitMQ using rabbot. This is working fine, I can publish messages, consume messages, etc.
Now I was hoping to be able to ask the RabbitMQ server which version it is running specifically.
I was hoping I might be able to publish a message asking for the version and get the answer via a reply queue. Or I could also make the request via HTTP, I have no preference. But strangely enough, I can't find any way of doing this. Hence my question: How can I get the version of a remotely running RabbitMQ server programmatically in Node.js?
Non-duplicate: Verify version of rabbitmq
The above is not a duplicate since it doesn't require the version be found programmatically, nor does it offer any Node.js solutions. Also, most solutions only apply to a local rabbitmq-server, not a remote one.