Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApiOutput.h @ 4622:9086aeb9d9d2 db-changes
RestApiCallDocumentation::SetAnswerHeader() and Toolbox::RemoveSurroundingQuotes()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Apr 2021 10:48:57 +0200 |
parents | d9473bd5ed43 |
children | d9942d48fea7 |
comparison
equal
deleted
inserted
replaced
4621:82dbe45c947a | 4622:9086aeb9d9d2 |
---|---|
57 bool IsConvertJsonToXml() const | 57 bool IsConvertJsonToXml() const |
58 { | 58 { |
59 return convertJsonToXml_; | 59 return convertJsonToXml_; |
60 } | 60 } |
61 | 61 |
62 HttpOutput& GetLowLevelOutput() const | |
63 { | |
64 return output_; | |
65 } | |
66 | |
62 void AnswerStream(IHttpStreamAnswer& stream); | 67 void AnswerStream(IHttpStreamAnswer& stream); |
63 | 68 |
64 void AnswerJson(const Json::Value& value); | 69 void AnswerJson(const Json::Value& value); |
65 | 70 |
66 void AnswerBuffer(const std::string& buffer, | 71 void AnswerBuffer(const std::string& buffer, |