|
|
using | GetParamsT = std::unordered_map< std::string, std::string > |
| |
§ HttpClient()
| identt::query::HttpClient::HttpClient |
( |
| ) |
|
§ GetDefault()
| bool identt::query::HttpClient::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.
- Parameters
-
| stptr | ::identt::utils::SharedTable::pointer stptr |
| url | std::string url |
| myparams | cpr::Parameters parameters |
| returns | std::string& returns |
| nothrow | bool dont throw if true |
- Returns
- bool status true if ok
§ PostJson()
| bool identt::query::HttpClient::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.
- Parameters
-
| stptr | ::identt::utils::SharedTable::pointer stptr |
| url | std::string url |
| payload | std::string& payload |
| returns | std::string& returns |
| nothrow | bool dont throw if true |
- Returns
- bool status true if ok
The documentation for this class was generated from the following files: