comparison Core/HttpClient.h @ 3392:ad434967a68c

renames
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Jun 2019 10:35:16 +0200
parents a48d652f1500
children 2cd0369a156f
comparison
equal deleted inserted replaced
3391:df0f1821b3de 3392:ad434967a68c
55 class HttpClient : public boost::noncopyable 55 class HttpClient : public boost::noncopyable
56 { 56 {
57 public: 57 public:
58 typedef std::map<std::string, std::string> HttpHeaders; 58 typedef std::map<std::string, std::string> HttpHeaders;
59 59
60 class IChunkedBody : public boost::noncopyable 60 class IRequestChunkedBody : public boost::noncopyable
61 { 61 {
62 public: 62 public:
63 virtual ~IChunkedBody() 63 virtual ~IRequestChunkedBody()
64 { 64 {
65 } 65 }
66 66
67 virtual bool ReadNextChunk(std::string& chunk) = 0; 67 virtual bool ReadNextChunk(std::string& chunk) = 0;
68 }; 68 };
69 69
70 private: 70 private:
71 class CurlHeaders; 71 class CurlHeaders;
72 class CurlChunkedBody; 72 class CurlRequestChunkedBody;
73 class GlobalParameters; 73 class GlobalParameters;
74 74
75 struct PImpl; 75 struct PImpl;
76 boost::shared_ptr<PImpl> pimpl_; 76 boost::shared_ptr<PImpl> pimpl_;
77 77
156 const std::string& GetBody() const 156 const std::string& GetBody() const
157 { 157 {
158 return body_; 158 return body_;
159 } 159 }
160 160
161 void SetBody(IChunkedBody& body); 161 void SetBody(IRequestChunkedBody& body);
162 162
163 void ClearBody(); 163 void ClearBody();
164 164
165 void SetVerbose(bool isVerbose); 165 void SetVerbose(bool isVerbose);
166 166