supported config useSSL

This commit is contained in:
wb-hx510875
2020-07-01 14:08:32 +08:00
committed by Axios
parent 8bed6eecc7
commit 5a451d16d4
6 changed files with 31 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ CoreClient::CoreClient(const std::string &servicename,
: serviceName_(servicename), configuration_(configuration),
httpClient_(new CurlHttpClient) {
httpClient_->setProxy(configuration.proxy());
httpClient_->setRejectUnauthorized(configuration.rejectUnauthorized());
}
CoreClient::~CoreClient() { delete httpClient_; }