#include <lua_xml_http_request.h>
|
| static const unsigned short | UNSENT = 0 |
| |
| static const unsigned short | OPENED = 1 |
| |
| static const unsigned short | HEADERS_RECEIVED = 2 |
| |
| static const unsigned short | LOADING = 3 |
| |
| static const unsigned short | DONE = 4 |
| |
| Enumerator |
|---|
| STRING |
|
| ARRAY_BUFFER |
|
| BLOB |
|
| DOCUMENT |
|
| JSON |
|
| void _setHttpRequestHeader |
( |
| ) |
|
| void getByteData |
( |
unsigned char * |
byteData | ) |
|
| std::string getDataStr |
( |
| ) |
|
|
inline |
| std::map<std::string, std::string> getHttpHeader |
( |
| ) |
|
|
inline |
| std::string getMethod |
( |
| ) |
|
|
inline |
| std::string getStatusText |
( |
| ) |
|
|
inline |
| bool getWithCredentialsValue |
( |
| ) |
|
|
inline |
| void setAborted |
( |
bool |
isAborted | ) |
|
|
inline |
| void setAsync |
( |
bool |
isAsync | ) |
|
|
inline |
| void setErrorFlag |
( |
bool |
errorFlag | ) |
|
|
inline |
| void setIsNetWork |
( |
bool |
isNetWork | ) |
|
|
inline |
| void setMethod |
( |
std::string |
meth | ) |
|
|
inline |
| void setReadyState |
( |
int |
readyState | ) |
|
|
inline |
| void setRequestHeader |
( |
const char * |
field, |
|
|
const char * |
value |
|
) |
| |
| void setStatus |
( |
int |
status | ) |
|
|
inline |
| void setTimeout |
( |
unsigned |
timeOut | ) |
|
|
inline |
| void setUrl |
( |
std::string |
url | ) |
|
|
inline |
| void setWithCredentialsValue |
( |
bool |
value | ) |
|
|
inline |
| const unsigned short DONE = 4 |
|
static |
| const unsigned short HEADERS_RECEIVED = 2 |
|
static |
| const unsigned short LOADING = 3 |
|
static |
| const unsigned short OPENED = 1 |
|
static |
| const unsigned short UNSENT = 0 |
|
static |
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.h