comparison Platforms/Generic/WebServiceGetCommand.cpp @ 301:547e1cf7aa7b am-callable-and-promise

cleanup
author am@osimis.io
date Tue, 18 Sep 2018 15:34:28 +0200
parents b4abaeb783b1
children 14ef1227120f
comparison
equal deleted inserted replaced
300:b4abaeb783b1 301:547e1cf7aa7b
25 25
26 namespace OrthancStone 26 namespace OrthancStone
27 { 27 {
28 28
29 WebServiceGetCommand::WebServiceGetCommand(MessageBroker& broker, 29 WebServiceGetCommand::WebServiceGetCommand(MessageBroker& broker,
30 MessageHandler<IWebService::NewHttpRequestSuccessMessage>* successCallback, // takes ownership 30 MessageHandler<IWebService::HttpRequestSuccessMessage>* successCallback, // takes ownership
31 MessageHandler<IWebService::NewHttpRequestErrorMessage>* failureCallback, // takes ownership 31 MessageHandler<IWebService::HttpRequestErrorMessage>* failureCallback, // takes ownership
32 const Orthanc::WebServiceParameters& parameters, 32 const Orthanc::WebServiceParameters& parameters,
33 const std::string& uri, 33 const std::string& uri,
34 const IWebService::Headers& headers, 34 const IWebService::Headers& headers,
35 Orthanc::IDynamicObject* payload /* takes ownership */, 35 Orthanc::IDynamicObject* payload /* takes ownership */,
36 NativeStoneApplicationContext& context) : 36 NativeStoneApplicationContext& context) :