Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Network

Namespaces

 cocos2d
 Copyright 2013 BlackBerry Inc.
 

Classes

class  HttpClient
 Singleton that handles asynchronous http requests. More...
 
class  HttpRequest
 Defines the object which users must packed for HttpClient::send(HttpRequest*) method. More...
 
class  HttpRequest::_prxy
 This sub class is just for migration SEL_CallFuncND to SEL_HttpResponse,someday this way will be removed. More...
 
class  HttpResponse
 A HttpResponse class is wrapped to the related responsed data came back from the HttpClient. More...
 
class  SocketIO
 Singleton and wrapper class to provide static creation method as well as registry of all sockets. More...
 
class  SocketIO::SIODelegate
 The delegate class to process socket.io events. More...
 
class  SIOClient
 A single connection to a socket.io endpoint. More...
 
class  WebSocket
 @ WebSocket More...
 
struct  WebSocket::Data
 Data structure for message. More...
 
class  WebSocket::Delegate
 The delegate class is used to process websocket events. More...
 

Enumerations

enum  Type
 The HttpRequest type enum used in the HttpRequest::setRequestType.
 
enum  ErrorCode { , CONNECTION_FAILURE, UNKNOWN }
 ErrorCode enum used to represent the error in the Websocket. More...
 
enum  State { , OPEN, CLOSING, CLOSED }
 State enum used to represent the Websocket state. More...
 

Detailed Description

Enumeration Type Documentation

enum ErrorCode
strong

ErrorCode enum used to represent the error in the Websocket.

Enumerator
CONNECTION_FAILURE 

< value 0

UNKNOWN 

< value 1

var ErrorCode
strong

ErrorCode enum used to represent the error in the Websocket.

Enumerator
CONNECTION_FAILURE 

< value 0

UNKNOWN 

< value 1

local ErrorCode
strong

ErrorCode enum used to represent the error in the Websocket.

Enumerator
CONNECTION_FAILURE 

< value 0

UNKNOWN 

< value 1

enum State
strong

State enum used to represent the Websocket state.

Enumerator
OPEN 

< value 0

CLOSING 

< value 1

CLOSED 

< value 2

var State
strong

State enum used to represent the Websocket state.

Enumerator
OPEN 

< value 0

CLOSING 

< value 1

CLOSED 

< value 2

local State
strong

State enum used to represent the Websocket state.

Enumerator
OPEN 

< value 0

CLOSING 

< value 1

CLOSED 

< value 2