comparison OrthancFramework/Sources/HttpClient.h @ 4657:e8967149d87a

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 May 2021 06:35:13 +0200
parents 9804d6490872
children 7053502fbf97
comparison
equal deleted inserted replaced
4656:82a314325351 4657:e8967149d87a
156 // New in Orthanc 1.9.3: The "data" buffer must have a lifetime 156 // New in Orthanc 1.9.3: The "data" buffer must have a lifetime
157 // that is longer than the HttpClient object 157 // that is longer than the HttpClient object
158 void SetExternalBody(const void* data, 158 void SetExternalBody(const void* data,
159 size_t size); 159 size_t size);
160 160
161 void SetExternalBody(const std::string& data) 161 void SetExternalBody(const std::string& data);
162 {
163 SetExternalBody(data.empty() ? NULL : data.c_str(), data.size());
164 }
165 162
166 void ClearBody(); 163 void ClearBody();
167 164
168 void SetVerbose(bool isVerbose); 165 void SetVerbose(bool isVerbose);
169 166