libkiwix/include
Matthieu Gautier c1faf55ae8 Introduce the server functionality in the kiwix-lib.
This code is mainly copied from kiwix-tools.

But :
- Move all the response thing in a new class Response.
- This Response class is responsible to handle all the MHD_response
  configuration. This way the server handle a global object and do
  no call to MHD_response*
- Server uses a lot more the templating system with mustache.
  There are still few regex operations (because we need to
  change a content already existing).
- By default, the server serves the content using the id as name.
- Server creates a new Searcher per request. This way, we don't have
  to protect the search for multi-thread and we can do several search
  in the same time.
- search results are not cached, this will allow future improvement in the
  search algorithm.
- the home page is not cached.
- Few more verbose information (number of request served, time spend to
  respond to a request).

TOOD:
 - Readd interface selection.
 - Do Android wrapper.
 - Remove KiwixServer (who use a external process).
 -
2019-08-11 11:30:43 +02:00
..
tools Make appendToFirstOccurence take argument by reference. 2019-08-11 10:19:48 +02:00
book.h Make getHumanReadableFromPath method const. 2019-08-11 10:19:48 +02:00
bookmark.h Add bookmarks support. 2018-12-02 15:47:29 +01:00
common.h Allow us to declare method to be deprecated. 2018-04-19 18:04:07 +02:00
downloader.h add remove fct with aria2 2019-05-13 10:30:19 +02:00
entry.h Introduce the server functionality in the kiwix-lib. 2019-08-11 11:30:43 +02:00
kiwix.h Format all the code using clang-format. 2017-07-05 15:22:34 +02:00
kiwixserve.h port can be set with the constructor 2019-06-27 16:50:22 +02:00
library.h Make the library create the reader. 2019-08-11 10:19:48 +02:00
libxml_dumper.h Add bookmarks support. 2018-12-02 15:47:29 +01:00
manager.h Remove invalid method declaration in kiwix::Manager. 2019-06-26 16:41:01 +02:00
meson.build Introduce the server functionality in the kiwix-lib. 2019-08-11 11:30:43 +02:00
name_mapper.h Introduce the new class NameMapper. 2019-08-11 10:19:48 +02:00
opds_dumper.h [API break] Move all the tools in the tools directory instead of common. 2019-01-23 15:31:38 +01:00
reader.h [API break] Move all the tools in the tools directory instead of common. 2019-01-23 15:31:38 +01:00
search_renderer.h Move the search html renderer in a different class than the searcher. 2019-08-11 10:19:48 +02:00
searcher.h Move the search html renderer in a different class than the searcher. 2019-08-11 10:19:48 +02:00
server.h Introduce the server functionality in the kiwix-lib. 2019-08-11 11:30:43 +02:00