78#ifndef DISABLE_REST_API
84 static UniSetActivatorPtr Instance();
94 void run(
bool async,
bool terminate_control =
true );
111#ifndef DISABLE_REST_API
125 static std::shared_ptr<UniSetActivator> inst;
129 static void on_finish_timeout();
130 static void set_signals(
bool set );
132 std::shared_ptr< OmniThreadCreator<UniSetActivator> > orbthr;
135 bool termControl = {
true };
137#ifndef DISABLE_REST_API
138 std::shared_ptr<uniset::UHttp::UHttpServer> httpserv;
139 std::string httpHost = {
"" };
140 int httpPort = { 0 };
141 std::string httpCORS_allow = {
"*" };
142 std::string httpDefaultContentType = {
"text/json; charset=UTF-8" };
143 std::vector<std::string> httpWhitelist;
144 std::vector<std::string> httpBlacklist;
145 std::vector<std::string> httpTrustedProxies;
146 bool httpBearerRequired = {
false };
147 std::vector<std::string> httpBearerTokens;
Definition UHttpRequestHandler.h:87