#include <lua_xml_http_request.h>
Public Types | |
| enum | ResponseType { STRING, ARRAY_BUFFER, BLOB, DOCUMENT, JSON } |
Public Member Functions | |
| LuaMinXmlHttpRequest () | |
| ~LuaMinXmlHttpRequest () | |
| ~LuaMinXmlHttpRequest () | |
| ~LuaMinXmlHttpRequest () | |
| void | handle_requestResponse (cocos2d::network::HttpClient *sender, cocos2d::network::HttpResponse *response) |
| void | setResponseType (ResponseType type) |
| ResponseType | getResponseType () |
| var | getResponseType () |
| local | getResponseType () |
| void | setWithCredentialsValue (bool value) |
| local | setWithCredentialsValue ( local value) |
| bool | getWithCredentialsValue () |
| var | getWithCredentialsValue () |
| local | getWithCredentialsValue () |
| void | setTimeout (unsigned timeOut) |
| unsigned | getTimeout () |
| var | getTimeout () |
| local | getTimeout () |
| void | setReadyState (int readyState) |
| int | getReadyState () |
| var | getReadyState () |
| local | getReadyState () |
| cocos2d::network::HttpRequest * | getHttpRequest () |
| local | getHttpRequest () |
| int | getStatus () |
| var | getStatus () |
| local | getStatus () |
| std::string | getStatusText () |
| local | getStatusText () |
| std::string | getUrl () |
| void | setUrl (std::string url) |
| std::string | getMethod () |
| void | setMethod (std::string meth) |
| void | setAsync (bool isAsync) |
| void | setIsNetWork (bool isNetWork) |
| void | _setHttpRequestHeader () |
| var | _setHttpRequestHeader () |
| local | _setHttpRequestHeader () |
| void | _sendRequest () |
| var | _sendRequest () |
| local | _sendRequest () |
| void | setRequestHeader (const char *field, const char *value) |
| std::map< std::string, std::string > | getHttpHeader () |
| local | getHttpHeader () |
| void | getByteData (unsigned char *byteData) |
| var | getByteData ( var byteData) |
| local | getByteData ( local byteData) |
| std::string | getDataStr () |
| var | getDataStr () |
| local | getDataStr () |
| size_t | getDataSize () |
| var | getDataSize () |
| local | getDataSize () |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Release the ownership immediately. More... | |
| local | release () |
| Release the ownership immediately. More... | |
| Ref * | autorelease () |
| Release the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
Static Public Attributes | |
| static const unsigned short | UNSENT = 0 |
| var | UNSENT = 0 |
| local | UNSENT = 0 |
| static const unsigned short | OPENED = 1 |
| var | OPENED = 1 |
| local | OPENED = 1 |
| static const unsigned short | HEADERS_RECEIVED = 2 |
| var | HEADERS_RECEIVED = 2 |
| local | HEADERS_RECEIVED = 2 |
| static const unsigned short | LOADING = 3 |
| var | LOADING = 3 |
| local | LOADING = 3 |
| static const unsigned short | DONE = 4 |
| var | DONE = 4 |
| local | DONE = 4 |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
|
strong |
|
strong |
|
strong |
| var LuaMinXmlHttpRequest | ( | ) |
| local LuaMinXmlHttpRequest | ( | ) |
| ~LuaMinXmlHttpRequest | ( | ) |
| var ~LuaMinXmlHttpRequest | ( | ) |
| local ~LuaMinXmlHttpRequest | ( | ) |
| void _sendRequest | ( | ) |
| var _sendRequest | ( | ) |
| local _sendRequest | ( | ) |
| void _setHttpRequestHeader | ( | ) |
| var _setHttpRequestHeader | ( | ) |
| local _setHttpRequestHeader | ( | ) |
| void getByteData | ( | unsigned char * | byteData) |
| var getByteData | ( | var | byteData) |
| local getByteData | ( | local | byteData) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void handle_requestResponse | ( | cocos2d::network::HttpClient * | sender, |
| cocos2d::network::HttpResponse * | response | ||
| ) |
| var handle_requestResponse | ( | var | sender, |
| var | response | ||
| ) |
| local handle_requestResponse | ( | local | sender, |
| local | response | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void setRequestHeader | ( | const char * | field, |
| const char * | value | ||
| ) |
| var setRequestHeader | ( | var | field, |
| var | value | ||
| ) |
| local setRequestHeader | ( | local | field, |
| local | value | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |