comparison Core/RestApi/RestApiOutput.h @ 339:639272ef7615

answer raw buffers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jan 2013 15:14:54 +0100
parents 78a8eaa5f30b
children bdd72233b105
comparison
equal deleted inserted replaced
338:3a3b3ba8c1e0 339:639272ef7615
68 void AnswerJson(const Json::Value& value); 68 void AnswerJson(const Json::Value& value);
69 69
70 void AnswerBuffer(const std::string& buffer, 70 void AnswerBuffer(const std::string& buffer,
71 const std::string& contentType); 71 const std::string& contentType);
72 72
73 void AnswerBuffer(const void* buffer,
74 size_t length,
75 const std::string& contentType);
76
73 void SignalError(Orthanc_HttpStatus status); 77 void SignalError(Orthanc_HttpStatus status);
74 78
75 void Redirect(const std::string& path); 79 void Redirect(const std::string& path);
76 80
77 void SetCookie(const std::string& name, 81 void SetCookie(const std::string& name,