22 #ifndef __LIBS_WEBVIEW_SERVER_H_ 23 #define __LIBS_WEBVIEW_SERVER_H_ 25 #include <sys/types.h> 37 class WebRequestDispatcher;
38 class WebUserVerifier;
39 class WebRequestManager;
41 #define WEBVIEW_DEFAULT_CIPHERS "SECURE128:-VERS-SSL3.0:-VERS-TLS-ALL:+VERS-TLS1.2" 47 bool enable_ipv4 =
true,
bool enable_ipv6 =
true);
50 const char *key_pem_filepath,
const char *cert_pem_filepath,
51 const char *cipher_suite = WEBVIEW_DEFAULT_CIPHERS,
53 bool enable_ipv4 =
true,
bool enable_ipv6 =
true);
60 void setup_access_log(
const char *filename);
62 unsigned int active_requests()
const;
63 Time last_request_completion_time()
const;
66 static char * read_file(
const char *filename);
69 struct MHD_Daemon *__daemon;
74 unsigned short int __port;
Encapsulation of the libmicrohttpd webserver.
Fawkes library namespace.
A class for handling time.
Interface for user verification.
Probides information about ongoing requests.