SAGA API  v9.6
CSG_HTTP Class Reference

#include <metadata.h>

Public Member Functions

 CSG_HTTP (void)
 
bool Create (void)
 
 CSG_HTTP (const CSG_String &Server, const SG_Char *Username=NULL, const SG_Char *Password=NULL)
 
bool Create (const CSG_String &Server, const SG_Char *Username=NULL, const SG_Char *Password=NULL)
 
virtual ~CSG_HTTP (void)
 
bool Destroy (void)
 
bool is_Connected (void) const
 
bool Request (const CSG_String &Request, CSG_Bytes &Answer)
 
bool Request (const CSG_String &Request, CSG_MetaData &Answer)
 
bool Request (const CSG_String &Request, CSG_String &Answer)
 
bool Request (const CSG_String &Request, const SG_Char *File)
 

Protected Attributes

class wxHTTP * m_pHTTP
 

Detailed Description

Definition at line 234 of file metadata.h.

Constructor & Destructor Documentation

◆ CSG_HTTP() [1/2]

CSG_HTTP::CSG_HTTP ( void  )

Definition at line 1169 of file metadata.cpp.

References m_pHTTP.

◆ CSG_HTTP() [2/2]

CSG_HTTP::CSG_HTTP ( const CSG_String Server,
const SG_Char Username = NULL,
const SG_Char Password = NULL 
)

Definition at line 1181 of file metadata.cpp.

References Create(), and m_pHTTP.

◆ ~CSG_HTTP()

CSG_HTTP::~CSG_HTTP ( void  )
virtual

Definition at line 1230 of file metadata.cpp.

References Destroy().

Member Function Documentation

◆ Create() [1/2]

bool CSG_HTTP::Create ( const CSG_String Server,
const SG_Char Username = NULL,
const SG_Char Password = NULL 
)

Definition at line 1189 of file metadata.cpp.

References CSG_String::c_str(), Destroy(), m_pHTTP, and SERVER_TRIM.

◆ Create() [2/2]

bool CSG_HTTP::Create ( void  )

Definition at line 1175 of file metadata.cpp.

References Destroy().

Referenced by CSG_HTTP().

◆ Destroy()

bool CSG_HTTP::Destroy ( void  )

Definition at line 1236 of file metadata.cpp.

References m_pHTTP.

Referenced by Create(), and ~CSG_HTTP().

◆ is_Connected()

bool CSG_HTTP::is_Connected ( void  ) const

Definition at line 1249 of file metadata.cpp.

References m_pHTTP.

◆ Request() [1/4]

bool CSG_HTTP::Request ( const CSG_String Request,
const SG_Char File 
)

Definition at line 1359 of file metadata.cpp.

References Request().

◆ Request() [2/4]

bool CSG_HTTP::Request ( const CSG_String Request,
CSG_Bytes Answer 
)

Definition at line 1303 of file metadata.cpp.

References CSG_Bytes::Clear().

Referenced by Request().

◆ Request() [3/4]

bool CSG_HTTP::Request ( const CSG_String Request,
CSG_MetaData Answer 
)

Definition at line 1282 of file metadata.cpp.

References CSG_MetaData::Destroy(), and Request().

◆ Request() [4/4]

bool CSG_HTTP::Request ( const CSG_String Request,
CSG_String Answer 
)

Definition at line 1331 of file metadata.cpp.

References CSG_String::Clear(), and Request().

Member Data Documentation

◆ m_pHTTP

class wxHTTP* CSG_HTTP::m_pHTTP
protected

Definition at line 256 of file metadata.h.

Referenced by Create(), CSG_HTTP(), Destroy(), and is_Connected().


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