comparison 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
comparison
equal deleted inserted replaced
468:456b9d2e9af4 469:a6fe16a31615
41 private: 41 private:
42 struct PImpl; 42 struct PImpl;
43 boost::shared_ptr<PImpl> pimpl_; 43 boost::shared_ptr<PImpl> pimpl_;
44 44
45 std::string url_; 45 std::string url_;
46 std::string credentials_;
46 Orthanc_HttpMethod method_; 47 Orthanc_HttpMethod method_;
47 Orthanc_HttpStatus lastStatus_; 48 Orthanc_HttpStatus lastStatus_;
48 std::string postData_; 49 std::string postData_;
49 bool isVerbose_; 50 bool isVerbose_;
50 51
52 void Setup();
53
54 void operator= (const HttpClient&); // Forbidden
55
51 public: 56 public:
57 HttpClient(const HttpClient& base);
58
52 HttpClient(); 59 HttpClient();
53 60
54 ~HttpClient(); 61 ~HttpClient();
55 62
56 void SetUrl(const char* url) 63 void SetUrl(const char* url)