diff Core/RestApi/RestApiOutput.h @ 1368:b22ba8c5edbe query-retrieve

query retrieve
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 May 2015 17:54:34 +0200
parents 6e7e5ed91c2d
children 7962563129c9
line wrap: on
line diff
--- a/Core/RestApi/RestApiOutput.h	Fri May 22 17:40:10 2015 +0200
+++ b/Core/RestApi/RestApiOutput.h	Tue May 26 17:54:34 2015 +0200
@@ -43,13 +43,15 @@
   {
   private:
     HttpOutput& output_;
-    bool alreadySent_;
-    bool convertJsonToXml_;
+    HttpMethod  method_;
+    bool        alreadySent_;
+    bool        convertJsonToXml_;
 
     void CheckStatus();
 
   public:
-    RestApiOutput(HttpOutput& output);
+    RestApiOutput(HttpOutput& output,
+                  HttpMethod method);
 
     ~RestApiOutput();