wxCurlHTTP Class Reference

A specialized interface to HTTP derived from wxCurlBase. More...

#include <http.h>

Inheritance diagram for wxCurlHTTP:
wxCurlBase wxCurlDAV wxCurlDAVTool

List of all members.

Public Member Functions

 wxCurlHTTP (const wxString &szURL=wxEmptyString, const wxString &szUserName=wxEmptyString, const wxString &szPassword=wxEmptyString, wxEvtHandler *pEvtHandler=NULL, int id=wxID_ANY, long flags=wxCURL_DEFAULT_FLAGS)
bool AddForm (const bool &bClear, const wxString &szName, struct curl_forms *pForms, CURLFORMcode *outErr=NULL)
bool AddBufferToForm (const bool &bClear, const wxString &szName, char *buffer, size_t len, CURLFORMcode *outErr=NULL)
void UseCookies (const bool &bUseCookies)
bool UseCookies () const
void SetCookieFile (const wxString &szFilePath)
wxString GetCookieFile () const
bool Options (const wxString &szRemoteFile=wxEmptyString)
bool Head (const wxString &szRemoteFile=wxEmptyString)
bool Post (const char *buffer, size_t size, const wxString &szRemoteFile=wxEmptyString)
bool Post (wxInputStream &buffer, const wxString &szRemoteFile=wxEmptyString)
bool Post (const wxString &szRemoteFile=wxEmptyString)
bool Trace (const wxString &szRemoteFile=wxEmptyString)
bool Get (const wxString &szFilePath, const wxString &szRemoteFile=wxEmptyString)
size_t Get (char *&buffer, const wxString &szRemoteFile=wxEmptyString)
bool Get (wxOutputStream &buffer, const wxString &szRemoteFile=wxEmptyString)
bool Put (const wxString &szFilePath, const wxString &szRemoteFile=wxEmptyString)
bool Put (const char *buffer, size_t size, const wxString &szRemoteFile=wxEmptyString)
bool Put (wxInputStream &buffer, const wxString &szRemoteFile=wxEmptyString)
bool Delete (const wxString &szRemoteLoc=wxEmptyString)

Protected Member Functions

virtual void ResetPostData ()
virtual void SetCurlHandleToDefaults (const wxString &relativeURL)
bool IsResponseOk () const

Protected Attributes

struct curl_httppost * m_pPostHead
struct curl_httppost * m_pPostTail
bool m_bUseCookies
wxCharBuffer m_szCookieFile
const char * m_pszPostFieldsData
size_t m_iPostDataSize

Detailed Description

A specialized interface to HTTP derived from wxCurlBase.


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

Generated on 1 Jan 2010 for wxCURL by  doxygen 1.6.1