Function SetCertPath

Synopsis

#include <include/restclient-cpp/connection.h>

void SetCertPath(const std::string &cert)

Description

set CURLOPT_SSLCERT

set certificate path

Parameters

path - to certificate file

Mentioned in

Source

Lines 256-259 in source/connection.cc. Line 188 in include/restclient-cpp/connection.h.

void
RestClient::Connection::SetCertPath(const std::string& cert) {
  this->certPath = cert;
}





Add Discussion as Guest

Log in