Mercurial > hg > orthanc
comparison Core/HttpServer/HttpToolbox.h @ 1447:5ba7471780ae
refactoring: HttpToolbox, DumpJson in Lua
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2015 17:42:06 +0200 |
parents | f3672356c121 |
children | 3232f1c995a5 |
comparison
equal
deleted
inserted
replaced
1446:8dc80ba768aa | 1447:5ba7471780ae |
---|---|
58 const IHttpHandler::Arguments& httpHeaders); | 58 const IHttpHandler::Arguments& httpHeaders); |
59 | 59 |
60 static void CompileGetArguments(IHttpHandler::Arguments& compiled, | 60 static void CompileGetArguments(IHttpHandler::Arguments& compiled, |
61 const IHttpHandler::GetArguments& source); | 61 const IHttpHandler::GetArguments& source); |
62 | 62 |
63 static bool SimpleGet(std::string& output, | 63 static bool SimpleGet(std::string& result, |
64 IHttpHandler& handler, | 64 IHttpHandler& handler, |
65 const std::string& uri); | 65 const std::string& uri); |
66 | |
67 static bool SimplePost(std::string& result, | |
68 IHttpHandler& handler, | |
69 const std::string& uri, | |
70 const char* bodyData, | |
71 size_t bodySize); | |
72 | |
73 static bool SimplePut(std::string& result, | |
74 IHttpHandler& handler, | |
75 const std::string& uri, | |
76 const char* bodyData, | |
77 size_t bodySize); | |
78 | |
79 static bool SimpleDelete(IHttpHandler& handler, | |
80 const std::string& uri); | |
66 }; | 81 }; |
67 } | 82 } |