Open danieloneill opened 4 years ago
I am a newbie and do not know the real meaning of "no Qt dependencies, and instead uses libmodbus, json-c, and libwebsockets.". hihihi but if the qhttpserver is no longer being mantained, i think its better to pursue the new road. thanks for your attention and providing this Daniel.
It's a bit tricky, I've been playing with https://github.com/addisonElliott/HttpServer and it's fairly good. Unfortunately it's in the same boat of being unmaintained. I believe it's also possible to just use libwebsockets for http serving, but I haven't pursued that.
For what it has to do, using a full HTTP compliant library is a bit overkill, so I've also been looking at "http services in a header" options lately.
I've noticed a hiccup in the qhttpserver install method, and it always has been a clunky thing to have to install it separately. Looking into it, I discovered qhttpserver is no longer being maintained:
https://github.com/nikhilm/qhttpserver
As I see it, switching to another http serving library or integrating the codebase are the two options.
This is a stopgap, since I've been developing a new major version of EpsolarServer which has no Qt dependencies, and instead uses libmodbus, json-c, and libwebsockets.
We could also ignore this problem for now, since there is a workaround, until the new Major is ready. Thoughts?