Mercurial > hg > orthanc
diff Core/HttpClient.h @ 1986:99b249867052
HTTP headers in HttpClient
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 25 Apr 2016 17:23:07 +0200 |
parents | b1291df2f780 |
children | ce90d109bb64 |
line wrap: on
line diff
--- a/Core/HttpClient.h Mon Apr 25 14:41:53 2016 +0200 +++ b/Core/HttpClient.h Mon Apr 25 17:23:07 2016 +0200 @@ -125,6 +125,11 @@ return isVerbose_; } + void AddHeader(const std::string& key, + const std::string& value); + + void ClearHeaders(); + bool Apply(std::string& answer); bool Apply(Json::Value& answer);