aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/httpsys.h')
-rw-r--r--src/zenhttp/httpsys.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/zenhttp/httpsys.h b/src/zenhttp/httpsys.h
index cf16042d7..3a2a6065d 100644
--- a/src/zenhttp/httpsys.h
+++ b/src/zenhttp/httpsys.h
@@ -36,7 +36,14 @@ class HttpSysServer : public HttpServer
friend class HttpSysTransaction;
public:
- explicit HttpSysServer(unsigned int ThreadCount, unsigned int AsyncWorkThreadCount);
+ struct Config
+ {
+ unsigned int ThreadCount = 0;
+ unsigned int AsyncWorkThreadCount = 0;
+ bool IsAsyncResponseEnabled = true;
+ bool IsRequestLoggingEnabled = false;
+ };
+ explicit HttpSysServer(const Config& Config);
~HttpSysServer();
// HttpServer interface implementation