RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Thursday, August 7, 2014
Cocos2D-X: Basic Guide to Using HttpClient
This guide is pretty much covers the basics:
http://www.cocos2d-x.org/wiki/How_to_use_CCHttpClient
The only part lacking is the signature of the callback, which needs to have 2 arguments. Example:
void onHttpRequestCompleted(cocos2d::network::HttpClient* client, cocos2d::network::HttpResponse* response);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment