23 #ifndef __LIBS_WEBVIEW_SERVER_H_ 24 #define __LIBS_WEBVIEW_SERVER_H_ 26 #include <sys/types.h> 36 class WebRequestDispatcher;
37 class WebUserVerifier;
44 const char *key_pem_filepath,
const char *cert_pem_filepath,
53 static char * read_file(
const char *filename);
56 struct MHD_Daemon *__daemon;
60 unsigned short int __port;
void setup_basic_auth(const char *realm, WebUserVerifier *verifier)
Setup basic authentication.
Encapsulation of the libmicrohttpd webserver.
Fawkes library namespace.
void process()
Process requests.
Interface for user verification.
WebServer(unsigned short int port, WebRequestDispatcher *dispatcher, fawkes::Logger *logger=0)
Constructor.