Mercurial > hg > orthanc
diff Core/HttpClient.h @ 3387:a48d652f1500
new function OrthancPluginHttpClientChunkedBody(), new class OrthancPlugins::HttpClient
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 05 Jun 2019 17:17:48 +0200 |
parents | af9432e46c07 |
children | ad434967a68c |
line wrap: on
line diff
--- a/Core/HttpClient.h Wed Jun 05 14:40:14 2019 +0200 +++ b/Core/HttpClient.h Wed Jun 05 17:17:48 2019 +0200 @@ -57,10 +57,10 @@ public: typedef std::map<std::string, std::string> HttpHeaders; - class IBodyStream : public boost::noncopyable + class IChunkedBody : public boost::noncopyable { public: - virtual ~IBodyStream() + virtual ~IChunkedBody() { } @@ -69,7 +69,7 @@ private: class CurlHeaders; - class CurlBodyStream; + class CurlChunkedBody; class GlobalParameters; struct PImpl; @@ -158,9 +158,9 @@ return body_; } - void SetBodyStream(IBodyStream& stream); + void SetBody(IChunkedBody& body); - void ClearBodyStream(); + void ClearBody(); void SetVerbose(bool isVerbose);