Classes | |
class | HttpClient |
Singleton that handles asynchrounous http requests Once the request completed, a callback will issued in main thread when it provided during make request. More... | |
class | HttpRequest |
defines the object which users must packed for HttpClient::send(HttpRequest*) method. More... | |
class | HttpResponse |
defines the object which users will receive at onHttpCompleted(sender, HttpResponse) callback Please refer to samples/TestCpp/Classes/ExtensionTest/NetworkTest/HttpClientTest.cpp as a sample More... | |
class | SIOClient |
A single connection to a socket.io endpoint. More... | |
class | SocketIO |
Singleton and wrapper class to provide static creation method as well as registry of all sockets. More... | |
class | WebSocket |
Typedefs | |
typedef std::function< void(HttpClient *client, HttpResponse *response)> | ccHttpRequestCallback |
typedef void(cocos2d::Ref::* | SEL_HttpResponse )(HttpClient *client, HttpResponse *response) |
typedef std::function< void(SIOClient *, const std::string &)> | SIOEvent |
typedef std::unordered_map < std::string, SIOEvent > | EventRegistry |
typedef std::function<void(HttpClient* client, HttpResponse* response)> ccHttpRequestCallback |
local ccHttpRequestCallback |
typedef std::unordered_map <std::string, SIOEvent> EventRegistry |
var EventRegistry |
local EventRegistry |
typedef void(cocos2d::Ref::* SEL_HttpResponse)(HttpClient *client, HttpResponse *response) |
typedef void(cocos2d::Ref::* SEL_HttpResponse)(HttpClient *client, HttpResponse *response) |
typedef void(cocos2d::Ref::* SEL_HttpResponse)(HttpClient *client, HttpResponse *response) |
var SIOEvent |
local SIOEvent |