AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
An HTTP request including the header, body and response. More...
#include <CzHttp.h>
Public Member Functions | |
const CzString & | getURI () const |
void | setURI (const char *uri) |
CzString & | getContent () |
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 CzString & | getBody () 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 () |
An HTTP request including the header, body and response.
CzHttpRequest::CzHttpRequest | ( | ) | [inline] |
virtual CzHttpRequest::~CzHttpRequest | ( | ) | [inline, virtual] |
void CzHttpRequest::allocContent | ( | int | len | ) | [inline] |
void CzHttpRequest::ApplyHeaders | ( | ) |
void CzHttpRequest::ClearHeaders | ( | ) | [inline] |
void CzHttpRequest::EndRequest | ( | int | error | ) |
const CzString& CzHttpRequest::getBody | ( | ) | const [inline] |
CzString& CzHttpRequest::getContent | ( | ) | [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] |