comparison 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
comparison
equal deleted inserted replaced
1367:fe6e5a9f1ea2 1368:b22ba8c5edbe
41 { 41 {
42 class RestApiOutput 42 class RestApiOutput
43 { 43 {
44 private: 44 private:
45 HttpOutput& output_; 45 HttpOutput& output_;
46 bool alreadySent_; 46 HttpMethod method_;
47 bool convertJsonToXml_; 47 bool alreadySent_;
48 bool convertJsonToXml_;
48 49
49 void CheckStatus(); 50 void CheckStatus();
50 51
51 public: 52 public:
52 RestApiOutput(HttpOutput& output); 53 RestApiOutput(HttpOutput& output,
54 HttpMethod method);
53 55
54 ~RestApiOutput(); 56 ~RestApiOutput();
55 57
56 HttpOutput& GetLowLevelOutput() 58 HttpOutput& GetLowLevelOutput()
57 { 59 {