diff Core/HttpServer/MongooseServer.h @ 2903:1153b1a128fe

MongooseServer::SetThreadsCount()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Oct 2018 17:32:56 +0200
parents da43ef7ff32a
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.h	Tue Oct 23 12:05:19 2018 +0200
+++ b/Core/HttpServer/MongooseServer.h	Tue Oct 23 17:32:56 2018 +0200
@@ -96,6 +96,7 @@
     bool httpCompression_;
     IHttpExceptionFormatter* exceptionFormatter_;
     std::string realm_;
+    unsigned int threadsCount_;
   
     bool IsRunning() const;
 
@@ -198,5 +199,12 @@
     {
       realm_ = realm;
     }
+
+    void SetThreadsCount(unsigned int threads);
+
+    unsigned int GetThreadsCount() const
+    {
+      return threadsCount_;
+    }
   };
 }