comparison Core/RestApi/RestApiOutput.h @ 2981:eff50153a7b3 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 15:58:08 +0100
parents 9d277f8ad698
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2896:3fabf9a673f6 2981:eff50153a7b3
73 void AnswerStream(IHttpStreamAnswer& stream); 73 void AnswerStream(IHttpStreamAnswer& stream);
74 74
75 void AnswerJson(const Json::Value& value); 75 void AnswerJson(const Json::Value& value);
76 76
77 void AnswerBuffer(const std::string& buffer, 77 void AnswerBuffer(const std::string& buffer,
78 const std::string& contentType); 78 MimeType contentType);
79 79
80 void AnswerBuffer(const void* buffer, 80 void AnswerBuffer(const void* buffer,
81 size_t length, 81 size_t length,
82 const std::string& contentType); 82 MimeType contentType);
83 83
84 void SignalError(HttpStatus status); 84 void SignalError(HttpStatus status);
85 85
86 void SignalError(HttpStatus status, 86 void SignalError(HttpStatus status,
87 const std::string& message); 87 const std::string& message);