22 #ifndef _PLUGINS_WEBVIEW_WEBVIEW_THREAD_H_ 23 #define _PLUGINS_WEBVIEW_WEBVIEW_THREAD_H_ 25 #include <aspect/configurable.h> 26 #include <aspect/logging.h> 27 #include <aspect/network.h> 28 #include <aspect/webview.h> 29 #include <core/threading/thread.h> 30 #include <logging/cache.h> 35 class WebRequestDispatcher;
59 void tls_create(
const char *tls_key_file,
const char *tls_cert_file);
79 unsigned int cfg_port_;
84 std::string cfg_tls_key_;
85 std::string cfg_tls_cert_;
86 std::string cfg_tls_cipher_suite_;
87 bool cfg_use_basic_auth_;
88 std::string cfg_basic_auth_realm_;
89 std::string cfg_access_log_;
90 bool cfg_use_thread_pool_;
91 unsigned int cfg_num_threads_;
92 std::vector<std::string> cfg_explicit_404_;
Encapsulation of the libmicrohttpd webserver.
virtual void init()
Initialize the thread.
virtual void finalize()
Finalize the thread.
Fawkes library namespace.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect for network communication.
Thread class encapsulation of pthreads.
Static file web processor.
Webview user verification.
Thread aspect to log output.
Representation of a service announced or found via service discovery (i.e.
Thread aspect to access configuration data.
Thread aspect to provide web pages via Webview.
Browse handler to detect other Webview instances on the network.
virtual void loop()
Code to execute in the thread.
WebviewThread(bool enable_tp)
Constructor.