Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.h @ 1517:4f8c8ef114db
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2015 10:32:34 +0200 |
parents | 895ab369d63c |
children | d73124f6b439 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.h Tue Aug 11 08:53:47 2015 +0200 +++ b/Core/HttpServer/MongooseServer.h Tue Aug 11 10:32:34 2015 +0200 @@ -76,6 +76,7 @@ uint16_t port_; IIncomingHttpRequestFilter* filter_; bool keepAlive_; + bool httpCompression_; bool IsRunning() const; @@ -135,6 +136,13 @@ void SetRemoteAccessAllowed(bool allowed); + bool IsHttpCompressionEnabled() const + { + return httpCompression_;; + } + + void SetHttpCompressionEnabled(bool enabled); + const IIncomingHttpRequestFilter* GetIncomingHttpRequestFilter() const { return filter_;