Can a web browser use MQTT?

后端 未结 8 1538
名媛妹妹
名媛妹妹 2020-12-13 00:18

We are looking at using MQTT as the messaging protocol on a new device we\'re building. We\'d also like a web interface for the device. Does anyone know if you can impleme

相关标签:
8条回答
  • 2020-12-13 01:13

    Not Apache, but you can follow this guide to install lighttpd with mod_websocket,

    http://oriolrius.cat/blog/2013/09/25/server-send-push-notifications-to-client-browser-without-polling/

    but for easy of use I highly recommend HiveMQ, as @Dominik recommends.

    0 讨论(0)
  • 2020-12-13 01:15

    Why not nodejs + socket.io? They come with all gadgets included (webscokets, pub/sub, webserver,mqtt broker...). SocketCluster is another good starting point.

    0 讨论(0)
提交回复
热议问题