diff Platforms/Generic/WebServicePostCommand.h @ 417:aee3d7941c9b

preparing to load images using DICOMweb
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 15 Nov 2018 17:28:15 +0100
parents 14ef1227120f
children b70e9be013e4
line wrap: on
line diff
--- a/Platforms/Generic/WebServicePostCommand.h	Tue Nov 13 10:36:53 2018 +0100
+++ b/Platforms/Generic/WebServicePostCommand.h	Thu Nov 15 17:28:15 2018 +0100
@@ -28,15 +28,15 @@
   class WebServicePostCommand : public WebServiceCommandBase
   {
   protected:
-    std::string                             body_;
+    std::string  body_;
 
   public:
     WebServicePostCommand(MessageBroker& broker,
                           MessageHandler<IWebService::HttpRequestSuccessMessage>* successCallback,  // takes ownership
                           MessageHandler<IWebService::HttpRequestErrorMessage>* failureCallback,  // takes ownership
                           const Orthanc::WebServiceParameters& parameters,
-                          const std::string& uri,
-                          const IWebService::Headers& headers,
+                          const std::string& url,
+                          const IWebService::HttpHeaders& headers,
                           unsigned int timeoutInSeconds,
                           const std::string& body,
                           Orthanc::IDynamicObject* payload /* takes ownership */,