摘要:
cocos2d-x 2.1.3使用libcurl请求数据的时候若要指定返回数据编码可以设置header如下CCHttpRequest* request = new CCHttpRequest();// set base paramrequest->setUrl(url);request->setRequestType(type);request->setResponseCallback(this, httpresponse_selector(yourClass::onHttpRequestCompleted));request->setRequestData(reque 阅读全文