Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApiGetCall.h @ 4330:a01b1c9cbef4
moving generic type definitions from IHttpHandler to HttpToolbox
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Nov 2020 14:39:10 +0100 |
parents | 4d42408da117 |
children | 80fd140b12ba |
comparison
equal
deleted
inserted
replaced
4329:9dc0e42f868b | 4330:a01b1c9cbef4 |
---|---|
27 namespace Orthanc | 27 namespace Orthanc |
28 { | 28 { |
29 class RestApiGetCall : public RestApiCall | 29 class RestApiGetCall : public RestApiCall |
30 { | 30 { |
31 private: | 31 private: |
32 const IHttpHandler::Arguments& getArguments_; | 32 const HttpToolbox::Arguments& getArguments_; |
33 | 33 |
34 public: | 34 public: |
35 typedef void (*Handler) (RestApiGetCall& call); | 35 typedef void (*Handler) (RestApiGetCall& call); |
36 | 36 |
37 RestApiGetCall(RestApiOutput& output, | 37 RestApiGetCall(RestApiOutput& output, |
38 RestApi& context, | 38 RestApi& context, |
39 RequestOrigin origin, | 39 RequestOrigin origin, |
40 const char* remoteIp, | 40 const char* remoteIp, |
41 const char* username, | 41 const char* username, |
42 const IHttpHandler::Arguments& httpHeaders, | 42 const HttpToolbox::Arguments& httpHeaders, |
43 const IHttpHandler::Arguments& uriComponents, | 43 const HttpToolbox::Arguments& uriComponents, |
44 const UriComponents& trailing, | 44 const UriComponents& trailing, |
45 const UriComponents& fullUri, | 45 const UriComponents& fullUri, |
46 const IHttpHandler::Arguments& getArguments) : | 46 const HttpToolbox::Arguments& getArguments) : |
47 RestApiCall(output, context, origin, remoteIp, username, | 47 RestApiCall(output, context, origin, remoteIp, username, |
48 httpHeaders, uriComponents, trailing, fullUri), | 48 httpHeaders, uriComponents, trailing, fullUri), |
49 getArguments_(getArguments) | 49 getArguments_(getArguments) |
50 { | 50 { |
51 } | 51 } |