comparison Core/HttpClient.h @ 2020:a0bd8cd55da7

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 Jun 2016 17:19:10 +0200
parents 9c9332e486ca
children fefbe71c2272
comparison
equal deleted inserted replaced
2019:9c9332e486ca 2020:a0bd8cd55da7
31 31
32 32
33 #pragma once 33 #pragma once
34 34
35 #include "Enumerations.h" 35 #include "Enumerations.h"
36 #include "WebServiceParameters.h"
36 37
37 #include <string> 38 #include <string>
38 #include <boost/shared_ptr.hpp> 39 #include <boost/shared_ptr.hpp>
39 #include <json/json.h> 40 #include <json/json.h>
40 41
68 HttpClient(const HttpClient& base); // Copy forbidden 69 HttpClient(const HttpClient& base); // Copy forbidden
69 70
70 public: 71 public:
71 HttpClient(); 72 HttpClient();
72 73
74 HttpClient(const WebServiceParameters& service,
75 const std::string& uri);
76
73 ~HttpClient(); 77 ~HttpClient();
74 78
75 void SetUrl(const char* url) 79 void SetUrl(const char* url)
76 { 80 {
77 url_ = std::string(url); 81 url_ = std::string(url);