相关文章推荐
淡定的菠萝  ·  元对象机制·  4 月前    · 
淡定的菠萝  ·  Django: ...·  4 月前    · 
淡定的菠萝  ·  ICU4J Android 框架 ...·  8 月前    · 
淡定的菠萝  ·  Cocos2d-x: HttpClient ...·  8 月前    · 
淡定的菠萝  ·  python json去掉反斜杠 ...·  9 月前    · 
淡定的菠萝  ·  Laravel Email ...·  10 月前    · 
俊秀的手套  ·  Qt | 显示网络图片 ...·  24 分钟前    · 
失恋的青椒  ·  20.5 OpenSSL ...·  26 分钟前    · 
爱旅游的帽子  ·  20.1 OpenSSL ...·  26 分钟前    · 
飘逸的马克杯  ·  【GIT SourceTree】_<git ...·  1小时前    · 
博学的豌豆  ·  Team Foundation ...·  1小时前    · 
Public Member Functions void enableCookies (const char *cookieFile)  Enable cookie support. More...
var enableCookies ( var cookieFile)  Enable cookie support. More...
const std::string & getCookieFilename ()  Get the cookie filename. More...
var getCookieFilename ()  Get the cookie filename. More...
void setSSLVerification (const std::string &caFile)  Set root certificate path for SSL verification. More...
const std::string & getSSLVerification ()  Get the ssl CA filename. More...
void send ( HttpRequest *request)  Add a get request to task queue. More...
void sendImmediate ( HttpRequest *request)  Immediate send a request. More...
void setTimeoutForConnect (int value)  Set the timeout value for connecting. More...
var setTimeoutForConnect ( var value)  Set the timeout value for connecting. More...
int getTimeoutForConnect ()  Get the timeout value for connecting. More...
var getTimeoutForConnect ()  Get the timeout value for connecting. More...
void setTimeoutForRead (int value)  Set the timeout value for reading. More...
var setTimeoutForRead ( var value)  Set the timeout value for reading. More...
int getTimeoutForRead ()  Get the timeout value for reading. More...
var getTimeoutForRead ()  Get the timeout value for reading. More...
Static Public Member Functions static HttpClient * getInstance ()  Get instance of HttpClient . More...
static void destroyInstance ()  Release the instance of HttpClient .
Static Public Attributes static const int RESPONSE_BUFFER_SIZE = 256  The buffer size of _responseMessage.
var RESPONSE_BUFFER_SIZE = 256  The buffer size of _responseMessage.

Detailed Description

Singleton that handles asynchronous http requests.

Once the request completed, a callback will issued in main thread when it provided during make request.

Member Function Documentation

 
推荐文章