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 3 Programmer 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)
 

Private Attributes

EasyHandleeh_
 

Detailed Description

Curl option wrapper class

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

Definition at line 355 of file restincurl.h.

Constructor & Destructor Documentation

◆ Options()

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

Definition at line 357 of file restincurl.h.

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

Definition at line 379 of file restincurl.h.

References 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

Definition at line 365 of file restincurl.h.

Referenced by Set().

Member Data Documentation

◆ eh_

EasyHandle& restincurl::Options::eh_
private

Definition at line 384 of file restincurl.h.


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