comparison 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
comparison
equal deleted inserted replaced
1516:f09f5d3225a7 1517:4f8c8ef114db
74 bool ssl_; 74 bool ssl_;
75 std::string certificate_; 75 std::string certificate_;
76 uint16_t port_; 76 uint16_t port_;
77 IIncomingHttpRequestFilter* filter_; 77 IIncomingHttpRequestFilter* filter_;
78 bool keepAlive_; 78 bool keepAlive_;
79 bool httpCompression_;
79 80
80 bool IsRunning() const; 81 bool IsRunning() const;
81 82
82 public: 83 public:
83 MongooseServer(); 84 MongooseServer();
133 return remoteAllowed_; 134 return remoteAllowed_;
134 } 135 }
135 136
136 void SetRemoteAccessAllowed(bool allowed); 137 void SetRemoteAccessAllowed(bool allowed);
137 138
139 bool IsHttpCompressionEnabled() const
140 {
141 return httpCompression_;;
142 }
143
144 void SetHttpCompressionEnabled(bool enabled);
145
138 const IIncomingHttpRequestFilter* GetIncomingHttpRequestFilter() const 146 const IIncomingHttpRequestFilter* GetIncomingHttpRequestFilter() const
139 { 147 {
140 return filter_; 148 return filter_;
141 } 149 }
142 150