Mercurial > hg > orthanc-stone
diff Framework/Oracle/OrthancRestApiCommand.h @ 819:a68cd7ae8838
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 29 May 2019 13:39:31 +0200 |
parents | d716bfb3e07c |
children | 18d53a8b41b7 |
line wrap: on
line diff
--- a/Framework/Oracle/OrthancRestApiCommand.h Wed May 29 08:36:13 2019 +0200 +++ b/Framework/Oracle/OrthancRestApiCommand.h Wed May 29 13:39:31 2019 +0200 @@ -95,6 +95,11 @@ void SetBody(const Json::Value& json); + void SwapBody(std::string& body) + { + body_.swap(body); + } + void SetHttpHeader(const std::string& key, const std::string& value) {