和 MQTT 一样,我可以通过 Stomp 使用“#”字符订阅所有主题吗?
var onConnect = function(frame) {
debug("connected to MQTT");
$('#connect').fadeOut({ duration: 'fast' });
$('#connected').fadeIn();
client.subscribe('#');
};
/* ------------------------------ */
client.connect(login, passcode, function(frame) {
client.debug("connected to Stomp");
client.subscribe('#', function(message) {});
});
BIG阳