Mercurial > hg > orthanc
comparison OrthancFramework/Sources/HttpServer/IHttpHandler.h @ 4329:9dc0e42f868b
moving static methods from HttpToolbox to IHttpHandler
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Nov 2020 13:46:49 +0100 |
parents | bf7b9edf6b81 |
children | a01b1c9cbef4 |
comparison
equal
deleted
inserted
replaced
4328:ce9284aebd40 | 4329:9dc0e42f868b |
---|---|
79 const UriComponents& uri, | 79 const UriComponents& uri, |
80 const Arguments& headers, | 80 const Arguments& headers, |
81 const GetArguments& getArguments, | 81 const GetArguments& getArguments, |
82 const void* bodyData, | 82 const void* bodyData, |
83 size_t bodySize) = 0; | 83 size_t bodySize) = 0; |
84 | |
85 static bool SimpleGet(std::string& result, | |
86 IHttpHandler& handler, | |
87 RequestOrigin origin, | |
88 const std::string& uri, | |
89 const Arguments& httpHeaders); | |
90 | |
91 static bool SimplePost(std::string& result, | |
92 IHttpHandler& handler, | |
93 RequestOrigin origin, | |
94 const std::string& uri, | |
95 const void* bodyData, | |
96 size_t bodySize, | |
97 const Arguments& httpHeaders); | |
98 | |
99 static bool SimplePut(std::string& result, | |
100 IHttpHandler& handler, | |
101 RequestOrigin origin, | |
102 const std::string& uri, | |
103 const void* bodyData, | |
104 size_t bodySize, | |
105 const Arguments& httpHeaders); | |
106 | |
107 static bool SimpleDelete(IHttpHandler& handler, | |
108 RequestOrigin origin, | |
109 const std::string& uri, | |
110 const Arguments& httpHeaders); | |
84 }; | 111 }; |
85 } | 112 } |