Constructors =========== EasyCurl() EasyCurl(CURL* curl) EasyCurl(const string& host) EasyCurl(const EasyCurl& rhs) // copy ctor friend ostream & operator<<( ostream &output, const EasyCurl &curl) // for EasyCurl curl("www.google.com"); cout << curl; Getters ======= long GetCode() string GetLastError() string GetLastEffectiveUrl() CURL* GetHandle() double GetDoubleInfo(CURLINFO opt) string GetStringInfo(CURLINFO opt) long GetLongInfo(CURLINFO opt) Setters ====== bool SetUrl(const string& _url) bool SetCookieFile(const string& file) bool SetCookie(char* cookie) bool SetCookieJar(const string& _cookiejar) bool SetOpt(CURLoption opt, const string& value) bool SetOpt(CURLoption opt, long value) bool SetTimeout(long val) bool SetTimeout(string val) bool SetFile(FILE* file) bool SetFile(const string& location) bool SetReferer(const string& referer) bool SetUserAgent(const string& agent) bool SetParms(const string& _parms) bool SetProxy(const string& _proxy) bool SetRedirect(bool re) bool SetMultipartForm(struct HttpPost* post) bool SetInterface(string inter) bool SetUserPassword(string data ) Perform ======= bool Perform() string StringPerform() Misc ==== bool UseCookieEngine() bool FollowRedirect() bool SSLVerifyPeer(bool b) bool SSLVerifyHost(bool b) bool ForceGet() bool ForcePost() bool SetVerbose(bool v) bool IsOk() string ReadFile() bool Reset() Static ===== static string Escape(const char* data) static curl_slist * SlistAppend(struct curl_slist *list, const char * string)