diff 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
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiGetCall.h	Wed Nov 25 13:46:49 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApiGetCall.h	Wed Nov 25 14:39:10 2020 +0100
@@ -29,7 +29,7 @@
   class RestApiGetCall : public RestApiCall
   {
   private:
-    const IHttpHandler::Arguments& getArguments_;
+    const HttpToolbox::Arguments& getArguments_;
 
   public:
     typedef void (*Handler) (RestApiGetCall& call);   
@@ -39,11 +39,11 @@
                    RequestOrigin origin,
                    const char* remoteIp,
                    const char* username,
-                   const IHttpHandler::Arguments& httpHeaders,
-                   const IHttpHandler::Arguments& uriComponents,
+                   const HttpToolbox::Arguments& httpHeaders,
+                   const HttpToolbox::Arguments& uriComponents,
                    const UriComponents& trailing,
                    const UriComponents& fullUri,
-                   const IHttpHandler::Arguments& getArguments) :
+                   const HttpToolbox::Arguments& getArguments) :
       RestApiCall(output, context, origin, remoteIp, username, 
                   httpHeaders, uriComponents, trailing, fullUri),
       getArguments_(getArguments)