Mercurial > hg > orthanc-stone
comparison Framework/Oracle/OrthancRestApiCommand.h @ 982:3f6e5a38c88f toa2019090601
Merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 06 Sep 2019 09:39:18 +0200 |
parents | 18d53a8b41b7 |
children | 4383382db01d 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
981:c20dbaab360c | 982:3f6e5a38c88f |
---|---|
98 void SwapBody(std::string& body) | 98 void SwapBody(std::string& body) |
99 { | 99 { |
100 body_.swap(body); | 100 body_.swap(body); |
101 } | 101 } |
102 | 102 |
103 void SetHttpHeaders(const HttpHeaders& headers) | |
104 { | |
105 headers_ = headers; | |
106 } | |
107 | |
103 void SetHttpHeader(const std::string& key, | 108 void SetHttpHeader(const std::string& key, |
104 const std::string& value) | 109 const std::string& value) |
105 { | 110 { |
106 headers_[key] = value; | 111 headers_[key] = value; |
107 } | 112 } |