Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis Developer Reference
restincurl::Options Class Reference

#include <restincurl.h>

Collaboration diagram for restincurl::Options:
Collaboration graph

Public Member Functions

 Options (EasyHandle &eh)
 
template<typename T>
OptionsSet (const CURLoption &opt, const T &value)
 
OptionsSet (const CURLoption &opt, const std::string &value)
 

Detailed Description

Curl option wrapper class

This is just a thin C++ wrapper over Curl's curl_easy_setopt() method.

Constructor & Destructor Documentation

◆ Options()

restincurl::Options::Options ( EasyHandle & eh)
inline

Referenced by Set(), and Set().

Member Function Documentation

◆ Set() [1/2]

Options & restincurl::Options::Set ( const CURLoption & opt,
const std::string & value )
inline

Set an option

Parameters
optCURLoption enum to change
valueString value to set

References Options(), and Set().

◆ Set() [2/2]

template<typename T>
Options & restincurl::Options::Set ( const CURLoption & opt,
const T & value )
inline

Set an option

Parameters
optCURLoption enum to change
valueValue to set

References Options().

Referenced by Set().


The documentation for this class was generated from the following file: