Project

General

Profile

Curl Scol plugin

#include <sCurl.h>

Public Member Functions

 SCurl (const std::string &url)
 
 ~SCurl ()
 
void CallAsync ()
 
void CallSync ()
 
void SetHeader (const std::vector< std::string > &header)
 
void SetOption (const CURLoption &opt, const std::string &value)
 
void SetOption (const CURLoption &opt, const int &value)
 
void SetOption (const CURLoption &opt, const std::vector< std::string > &value)
 
void SetOption (const CURLoption &opt, const char *mvalue, const unsigned int size)
 
void AddFormField (const std::string &name, const std::string &value, const bool &file)
 

Static Public Member Functions

static bool CheckUrl (const std::string &url_s)
 

Protected Attributes

bool m_terminate
 

Detailed Description

SCurl class

Definition at line 268 of file sCurl.h.

Constructor & Destructor Documentation

◆ SCurl()

SCurl::SCurl ( const std::string &  url)

Ctor.

Definition at line 38 of file sCurl.cpp.

◆ ~SCurl()

SCurl::~SCurl ( )

Dtor

Definition at line 45 of file sCurl.cpp.

Member Function Documentation

◆ AddFormField()

void SCurl::AddFormField ( const std::string &  name,
const std::string &  value,
const bool &  file 
)

Definition at line 227 of file sCurl.cpp.

◆ CallAsync()

void SCurl::CallAsync ( )

Definition at line 206 of file sCurl.cpp.

◆ CallSync()

void SCurl::CallSync ( )

Definition at line 221 of file sCurl.cpp.

◆ CheckUrl()

bool SCurl::CheckUrl ( const std::string &  url_s)
static

Definition at line 32 of file sCurl.cpp.

◆ SetHeader()

void SCurl::SetHeader ( const std::vector< std::string > &  header)

Definition at line 233 of file sCurl.cpp.

◆ SetOption() [1/4]

void SCurl::SetOption ( const CURLoption &  opt,
const char *  mvalue,
const unsigned int  size 
)

Definition at line 434 of file sCurl.cpp.

◆ SetOption() [2/4]

void SCurl::SetOption ( const CURLoption &  opt,
const int &  value 
)

Definition at line 239 of file sCurl.cpp.

◆ SetOption() [3/4]

void SCurl::SetOption ( const CURLoption &  opt,
const std::string &  value 
)

Definition at line 343 of file sCurl.cpp.

◆ SetOption() [4/4]

void SCurl::SetOption ( const CURLoption &  opt,
const std::vector< std::string > &  value 
)

Definition at line 411 of file sCurl.cpp.

Member Data Documentation

◆ m_terminate

bool SCurl::m_terminate
protected

Definition at line 272 of file sCurl.h.


The documentation for this class was generated from the following files:
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/sCurl/include/sCurl.h
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/sCurl/src/sCurl.cpp