Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2789:2a4ac74da1ed | 2790:c7313e1f7644 |
---|---|
94 uint16_t port_; | 94 uint16_t port_; |
95 IIncomingHttpRequestFilter* filter_; | 95 IIncomingHttpRequestFilter* filter_; |
96 bool keepAlive_; | 96 bool keepAlive_; |
97 bool httpCompression_; | 97 bool httpCompression_; |
98 IHttpExceptionFormatter* exceptionFormatter_; | 98 IHttpExceptionFormatter* exceptionFormatter_; |
99 std::string realm_; | |
99 | 100 |
100 bool IsRunning() const; | 101 bool IsRunning() const; |
101 | 102 |
102 public: | 103 public: |
103 MongooseServer(); | 104 MongooseServer(); |
186 | 187 |
187 IHttpExceptionFormatter* GetExceptionFormatter() | 188 IHttpExceptionFormatter* GetExceptionFormatter() |
188 { | 189 { |
189 return exceptionFormatter_; | 190 return exceptionFormatter_; |
190 } | 191 } |
192 | |
193 const std::string& GetRealm() const | |
194 { | |
195 return realm_; | |
196 } | |
197 | |
198 void SetRealm(const std::string& realm) | |
199 { | |
200 realm_ = realm; | |
201 } | |
191 }; | 202 }; |
192 } | 203 } |