Fawkes API
Fawkes Development Version
|
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_;
virtual void finalize()
Finalize the thread.
Webview user verification.
Encapsulation of the libmicrohttpd webserver.
virtual void run()
Stub to see name in backtrace for easier debugging.
Representation of a service announced or found via service discovery (i.e.
Fawkes library namespace.
Thread aspect to log output.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.
Thread aspect to provide web pages via Webview.
Thread class encapsulation of pthreads.
Static file web processor.
Thread aspect to access configuration data.
WebviewThread(bool enable_tp)
Constructor.
Browse handler to detect other Webview instances on the network.
Thread aspect for network communication.