diff Platforms/Generic/WebServicePostCommand.h @ 309:14ef1227120f am-callable-and-promise

web services: better handling of failures
author am@osimis.io
date Fri, 28 Sep 2018 15:02:43 +0200
parents 547e1cf7aa7b
children aee3d7941c9b
line wrap: on
line diff
--- a/Platforms/Generic/WebServicePostCommand.h	Tue Sep 25 15:14:53 2018 +0200
+++ b/Platforms/Generic/WebServicePostCommand.h	Fri Sep 28 15:02:43 2018 +0200
@@ -37,6 +37,7 @@
                           const Orthanc::WebServiceParameters& parameters,
                           const std::string& uri,
                           const IWebService::Headers& headers,
+                          unsigned int timeoutInSeconds,
                           const std::string& body,
                           Orthanc::IDynamicObject* payload /* takes ownership */,
                           NativeStoneApplicationContext& context);