摘要: 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 阅读全文
posted @ 2014-03-19 13:05 oathKeeper 阅读(3101) 评论(1) 推荐(0) 编辑