33 #ifndef _IDENTT_QUERY_HTTP_CLIENT_HPP_ 34 #define _IDENTT_QUERY_HTTP_CLIENT_HPP_ 38 #include <unordered_map> 47 using GetParamsT=std::unordered_map<std::string,std::string>;
86 bool GetDefault(::identt::utils::SharedTable::pointer stptr,
87 std::string url,
cpr::Parameters myparams, std::string& returns,
bool nothrow=
false);
110 bool PostJson(::identt::utils::SharedTable::pointer stptr,
111 std::string url, std::string& payload, std::string& returns,
bool nothrow=
false);
116 #endif // _IDENTT_QUERY_HTTP_CLIENT_HPP_ bool GetDefault(::identt::utils::SharedTable::pointer stptr, std::string url, cpr::Parameters myparams, std::string &returns, bool nothrow=false)
GetDefault : send json to remote and get output.
virtual ~HttpClient()
destructor
Definition: HttpClient.cc:47
HttpClient()
constructor
Definition: HttpClient.cc:42
Definition: parameters.h:21
Definition: HttpClient.hpp:44
Definition: CryptoBase.hpp:49
bool PostJson(::identt::utils::SharedTable::pointer stptr, std::string url, std::string &payload, std::string &returns, bool nothrow=false)
PostJson : send json to remote and get output.