iFun Engine API  1.0.0-b6053
Great Technology for Great Games
Public Types | Public Member Functions | List of all members
fun::Curl Class Reference
Inheritance diagram for fun::Curl:

Public Types

typedef function< void(CURLcode, const string &error_desc)> CompleteCallback
 

Public Member Functions

CURL * easy_handle () const
 
const char * GetErrorBuffer () const
 
CURLcode GetResultCode () const
 
bool GetVerbose () const
 
CURLcode Request ()
 
void RequestAsync ()
 
void set_complete_callback (const CompleteCallback &cb)
 
void SetTimeout (size_t timeout_in_ms)
 
void SetVerbose (bool on)