Giter Site home page Giter Site logo

Comments (5)

rmqtt avatar rmqtt commented on May 10, 2024
  1. The reason why salvo 0.40 and later versions were not used is because salvo 0.37 uses the latest official version of super ("0.14"), while salvo 0.4x uses super ("1.0.0 rc.3")

  2. The function of adding HTTP request logs has been added to the development plan.

  3. What salvo web server configurations need to be added? Can you provide examples?

  4. Using StaticDir but I am getting 404. It is recommended to post your question in the salvo community.

Finally, thank you for your attention and use of rmqtt.

from rmqtt.

greenpdx avatar greenpdx commented on May 10, 2024

I would like rmqtt have a web interface with http-api so it would be able to function as a web-server also. MQTT is great for communication but for a user interface a web server is the best.

from rmqtt.

rmqtt avatar rmqtt commented on May 10, 2024

My understanding is that webserver is not a necessary feature of mqtt broker. Based on your requirements, it is recommended to deploy additional webserver services, such as nginx or haproxy.

from rmqtt.

greenpdx avatar greenpdx commented on May 10, 2024

It is not necessary but it is a nice feature;
Use Case
A SBC controls a network of IoT using mqtt protocol. It has a web application written to control the system. Space is limited. rmqtt server host the static app, another web server is not needed for one application.
Create a plugin; http-web-server

from rmqtt.

rmqtt avatar rmqtt commented on May 10, 2024

Based on your business situation, you can implement the ‘http-web-server’ plugin to solve your problem. But this is not a part of rmqtt, so you can implement this ‘http-web-server’ plugin and recompile rmqtt. The plugin implementation can refer to: https://github.com/rmqtt/rmqtt/tree/master/rmqtt-plugins/rmqtt-plugin-template

from rmqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.