cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cocos2d::network Namespace Reference

Classes

class  HttpClient
 Singleton that handles asynchrounous http requests. 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. 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 Documentation

typedef std::function<void(HttpClient*
client, HttpResponse* response)>
ccHttpRequestCallback
typedef std::unordered_map
<std::string, SIOEvent>
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)
typedef std::function<void(SIOClient*,
const std::string&)> SIOEvent
var SIOEvent
local SIOEvent