Mercurial > hg > orthanc
diff Core/RestApi/RestApiOutput.h @ 285:4031f73fe0e4
access to the raw dicom tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Dec 2012 17:53:14 +0100 |
parents | e5d5d4a9a326 |
children | 78a8eaa5f30b |
line wrap: on
line diff
--- a/Core/RestApi/RestApiOutput.h Wed Dec 12 15:40:18 2012 +0100 +++ b/Core/RestApi/RestApiOutput.h Wed Dec 12 17:53:14 2012 +0100 @@ -52,6 +52,16 @@ ~RestApiOutput(); + HttpOutput& GetLowLevelOutput() + { + return output_; + } + + void MarkLowLevelOutputDone() + { + alreadySent_ = true; + } + void AnswerFile(HttpFileSender& sender); void AnswerJson(const Json::Value& value);