Mercurial > hg > orthanc
diff OrthancCppClient/HttpClient.h @ 469:a6fe16a31615
transmitting credentials by copy
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 15:36:59 +0200 |
parents | 456b9d2e9af4 |
children | c9a5d72f8481 |
line wrap: on
line diff
--- a/OrthancCppClient/HttpClient.h Fri Jul 12 14:53:17 2013 +0200 +++ b/OrthancCppClient/HttpClient.h Fri Jul 12 15:36:59 2013 +0200 @@ -43,12 +43,19 @@ boost::shared_ptr<PImpl> pimpl_; std::string url_; + std::string credentials_; Orthanc_HttpMethod method_; Orthanc_HttpStatus lastStatus_; std::string postData_; bool isVerbose_; + void Setup(); + + void operator= (const HttpClient&); // Forbidden + public: + HttpClient(const HttpClient& base); + HttpClient(); ~HttpClient();