Closed vincar closed 7 years ago
Hi! How to connect mq with virtual hosts, I sorry that I can not find the argument in the Client.rb file
MQTT::Client.connect(host: '127.0.0.1', username: 'admin', password: 'admin', vhost: 'common')
is not work!!!
Virtual Hosts are not supported in MQTT v3.1.1 - the only official standard for MQTT.
I think they may be added in MQTT v5.
ok, Thanks @njh
Hi! How to connect mq with virtual hosts, I sorry that I can not find the argument in the Client.rb file
MQTT::Client.connect(host: '127.0.0.1', username: 'admin', password: 'admin', vhost: 'common')
is not work!!!