和 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) {});});
- 2 回答
- 0 关注
- 702 浏览
添加回答
举报
0/150
提交
取消