AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzHttpRequest Class Reference

An HTTP request including the header, body and response. More...

#include <CzHttp.h>

List of all members.

Public Member Functions

const CzStringgetURI () const
void setURI (const char *uri)
CzStringgetContent ()
void setContent (char *content, int len)
void allocContent (int len)
void reallocContent (int new_len)
int getContentLength () const
bool getProcessed () const
void setProcessed (bool processed)
void SetHeader (const char *header, const char *header_data)
void ClearHeaders ()
void setBody (const char *body)
const CzStringgetBody () const
void setContentAvailableCallback (CzCallback callback, void *data)
void setPOST ()
void setGET ()
bool isPOST () const
 CzHttpRequest ()
virtual ~CzHttpRequest ()
void setError (int error)
int getError () const
void EndRequest (int error)
void ApplyHeaders ()

Detailed Description

An HTTP request including the header, body and response.


Constructor & Destructor Documentation

virtual CzHttpRequest::~CzHttpRequest ( ) [inline, virtual]

Member Function Documentation

void CzHttpRequest::allocContent ( int  len) [inline]
void CzHttpRequest::ClearHeaders ( ) [inline]
void CzHttpRequest::EndRequest ( int  error)
const CzString& CzHttpRequest::getBody ( ) const [inline]
int CzHttpRequest::getContentLength ( ) const [inline]
int CzHttpRequest::getError ( ) const [inline]
bool CzHttpRequest::getProcessed ( ) const [inline]
const CzString& CzHttpRequest::getURI ( ) const [inline]
bool CzHttpRequest::isPOST ( ) const [inline]
void CzHttpRequest::reallocContent ( int  new_len) [inline]
void CzHttpRequest::setBody ( const char *  body) [inline]
void CzHttpRequest::setContent ( char *  content,
int  len 
) [inline]
void CzHttpRequest::setContentAvailableCallback ( CzCallback  callback,
void *  data 
) [inline]
void CzHttpRequest::setError ( int  error) [inline]
void CzHttpRequest::setGET ( ) [inline]
void CzHttpRequest::SetHeader ( const char *  header,
const char *  header_data 
) [inline]
void CzHttpRequest::setPOST ( ) [inline]
void CzHttpRequest::setProcessed ( bool  processed) [inline]
void CzHttpRequest::setURI ( const char *  uri) [inline]

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