HTTP server for qt
So, about my job is:
HTTP server creates a link at an address, e.g.
localhost:4567which is accessible to the user-selected catalogue.
For example: In the catalogue.
menu.html♪ I'm building a connection and an address.
localhost:4567/index.htmlI have a catalogue page open.
test/if I came by
test/And so on. That's what I want. Qt The annexes periodically update the page (i.e. not press F5 in the browser, but that my programme/server updates the page on its own).
If brieflythe server has only two functions: to make available to the browser the contents of any catalogue at the address.
localhost:4567and to be able to update the page from its programme Qt♪
Do you need to write your HTTP server or are there any solutions? Which way to dig, please.
This library can do, it's described in part one. We're pointing out the catalogue and the web server has access to these files.
With regard to the update from the qt of the annex, I see a diagram: a web page at a certain interval through ajax sends a request to API, which can also be implemented by means of the library mentioned above, and the server says it needs to update the page or not.