Mercurial > hg > orthanc
diff Core/HttpServer/HttpToolbox.h @ 1780:94990da8710e
OrthancPluginRestApiGet2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 13 Nov 2015 15:06:45 +0100 |
parents | 3232f1c995a5 |
children | b1291df2f780 |
line wrap: on
line diff
--- a/Core/HttpServer/HttpToolbox.h Fri Nov 13 13:20:28 2015 +0100 +++ b/Core/HttpServer/HttpToolbox.h Fri Nov 13 15:06:45 2015 +0100 @@ -65,6 +65,12 @@ RequestOrigin origin, const std::string& uri); + static bool SimpleGet(std::string& result, + IHttpHandler& handler, + RequestOrigin origin, + const std::string& uri, + const IHttpHandler::Arguments& httpHeaders); + static bool SimplePost(std::string& result, IHttpHandler& handler, RequestOrigin origin,