comparison Platforms/Generic/WebServicePostCommand.cpp @ 123:ed0003f6102c wasm

dynamic loading of rt-struct renderers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 07 Oct 2017 13:11:12 +0200
parents 2eca030792aa
children e2fe9352f240
comparison
equal deleted inserted replaced
122:e3433dabfb8d 123:ed0003f6102c
39 } 39 }
40 40
41 void WebServicePostCommand::Execute() 41 void WebServicePostCommand::Execute()
42 { 42 {
43 Orthanc::HttpClient client(parameters_, uri_); 43 Orthanc::HttpClient client(parameters_, uri_);
44 client.SetTimeout(60);
44 client.SetMethod(Orthanc::HttpMethod_Post); 45 client.SetMethod(Orthanc::HttpMethod_Post);
45 client.GetBody().swap(body_); 46 client.GetBody().swap(body_);
46 success_ = client.Apply(answer_); 47 success_ = client.Apply(answer_);
47 } 48 }
48 49