Readonly
STATE_The socket is connected to the server.
Readonly
STATE_The socket is connecting to the server.
Readonly
STATE_The socket is disconnected from the server.
Readonly
STATE_Unknown state of the socket.
Protected
_callCalls all listeners registered in the event.
Name of the event.
Calls all listeners registered in the event.
Name of the event.
Data to send in the event.
Protected
_hasRegisters the listener of the event.
Name of the event.
Listener to execute when the event is called.
Registers the listener of the event.
Name of the event.
Listener to execute when the event is called.
Clears all listeners on the event.
Name of the event.
Emits the socket event.
Name of the event.
Emits the socket event.
Name of the event.
Socket event key.
Emits the socket event.
Name of the event.
Socket event key.
Event parameters.
Emits the socket event.
Name of the event.
Socket event key.
Event parameters.
Function called in the progress tick.
Gets the current state of the socket.
Removes the listener of the event.
Name of the event.
Removes the listener of the event.
Name of the event.
Class for socket communication.