Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1985:3fcea6dc151d | 1986:99b249867052 |
---|---|
123 bool IsVerbose() const | 123 bool IsVerbose() const |
124 { | 124 { |
125 return isVerbose_; | 125 return isVerbose_; |
126 } | 126 } |
127 | 127 |
128 void AddHeader(const std::string& key, | |
129 const std::string& value); | |
130 | |
131 void ClearHeaders(); | |
132 | |
128 bool Apply(std::string& answer); | 133 bool Apply(std::string& answer); |
129 | 134 |
130 bool Apply(Json::Value& answer); | 135 bool Apply(Json::Value& answer); |
131 | 136 |
132 HttpStatus GetLastStatus() const | 137 HttpStatus GetLastStatus() const |