Function SetCertType

Synopsis

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

void SetCertType(const std::string &type)

Description

set CURLOPT_SSLCERTTYPE

set certificate type

Parameters

certificate - type (e.g. "PEM" or "DER")

Mentioned in

Source

Lines 267-270 in source/connection.cc. Line 191 in include/restclient-cpp/connection.h.

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





Add Discussion as Guest

Log in