diff Core/HttpServer/MongooseServer.h @ 2790:c7313e1f7644

MongooseServer::SetRealm()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 26 Jul 2018 20:43:03 +0200
parents 2f3007bf0708
children da43ef7ff32a
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.h	Thu Jul 26 14:02:20 2018 +0200
+++ b/Core/HttpServer/MongooseServer.h	Thu Jul 26 20:43:03 2018 +0200
@@ -96,6 +96,7 @@
     bool keepAlive_;
     bool httpCompression_;
     IHttpExceptionFormatter* exceptionFormatter_;
+    std::string realm_;
   
     bool IsRunning() const;
 
@@ -188,5 +189,15 @@
     {
       return exceptionFormatter_;
     }
+
+    const std::string& GetRealm() const
+    {
+      return realm_;
+    }
+
+    void SetRealm(const std::string& realm)
+    {
+      realm_ = realm;
+    }
   };
 }