7 ms·
> I definitely recommend looking into trying MQTT before you jump straight into WebSockets. What is a nice way to use mqtt in the front-end instead of websocke
by mosselman 5y ago
> I definitely recommend looking into trying MQTT before you jump straight into WebSockets.
What is a nice way to use mqtt in the front-end instead of websockets? What can you recommend?
- oneweekwonder 5y agoEclipse Paho JavaScript Client[0] for the front-end and personally I prefer RabbitMQ Web MQTT Plugin[1] for the back-end[1]. Take note Paho MQTT Client is available for several programming languages(Py,Rust,Go,C,C#,etc)[2]. [0]: https://www.eclipse.org/paho/index.php?page=clients/js/index.php https://www.eclipse.org/paho/index.php?page=clients/js/index... [1]: https://www.rabbitmq.com/web-mqtt.html https://www.rabbitmq.com/web-mqtt.html [2]: https://www.eclipse.org/paho/index.php?page=downloads.php https://www.eclipse.org/paho/index.php?page=downloads.php
- tombert 5y agoBeat me to it! I was about to suggest the Eclipse Paho library. One of the very few things in the developer world that has "just worked" for me the first time I tried it.