【问题标题】:What does this mqtt-connection module used for?这个 mqtt-connection 模块是做什么用的?
【发布时间】:2017-06-08 09:25:20
【问题描述】:

nodejs 中的这个 mqtt-connection 模块是做什么用的?这是否意味着有了这个 mqtt-connection,我们就不需要任何代理了? mqtt-connection

【问题讨论】:

    标签: node.js mqtt


    【解决方案1】:

    您确实可以创建一个侦听 MQTT 的新服务器并使用客户端版本连接到它。

    例如,您可以运行具有以下架构的快速应用程序

    -server
       - server.js //Start your server here
    -app
       - your client views and controllers go here
    

    但是,如果您打算设置大型应用程序,我强烈建议您使用 Mosquito 或 ActiveMQ 等代理。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-05-02
      • 1970-01-01
      • 2013-04-06
      • 1970-01-01
      • 2016-04-02
      • 1970-01-01
      • 1970-01-01
      • 2012-08-02
      相关资源
      最近更新 更多