Function SetCAInfoFilePath

Synopsis

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

void SetCAInfoFilePath(const std::string &caInfoFilePath)

Description

set custom Certificate Authority (CA) path

set the Certificate Authority (CA) Info which is the path to file holding certificates to be used to verify peers. See CURLOPT_CAINFO

Parameters

caInfoFilePath - - The path to a file holding the certificates used to verify the peer with. See CURLOPT_CAINFO

Mentioned in

Source

Lines 171-174 in source/connection.cc. Line 185 in include/restclient-cpp/connection.h.

void
RestClient::Connection::SetCAInfoFilePath(const std::string& caInfoFilePath) {
  this->caInfoFilePath = caInfoFilePath;
}





Add Discussion as Guest

Log in