Mercurial > hg > orthanc
comparison Core/RestApi/RestApi.h @ 330:78a8eaa5f30b
cookies
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Jan 2013 11:41:13 +0100 |
parents | 4eea080e6e7a |
children | 5a96dac27959 |
comparison
equal
deleted
inserted
replaced
329:f579d50fdf8f | 330:78a8eaa5f30b |
---|---|
90 const std::string& defaultValue) const | 90 const std::string& defaultValue) const |
91 { | 91 { |
92 return HttpHandler::GetArgument(*httpHeaders_, name, defaultValue); | 92 return HttpHandler::GetArgument(*httpHeaders_, name, defaultValue); |
93 } | 93 } |
94 | 94 |
95 void ParseCookies(HttpHandler::Arguments& result) const | |
96 { | |
97 HttpHandler::ParseCookies(result, *httpHeaders_); | |
98 } | |
99 | |
95 virtual bool ParseJsonRequest(Json::Value& result) const = 0; | 100 virtual bool ParseJsonRequest(Json::Value& result) const = 0; |
96 }; | 101 }; |
97 | 102 |
98 | 103 |
99 public: | 104 public: |