Class Parser
- Namespace
- Firesplash.GameDevAssets.SocketIOPlus
- Assembly
- Firesplash.GameDevAssets.SocketIOPlus.dll
This is a skeleton class for writing Socket.IO / Engine.IO transcoders
public class Parser
- Inheritance
-
Parser
- Derived
Methods
Parse(EngineIOPacket, SocketIOClient)
This creates a Socket.IO packet from the string types Engine.IO message Binary payloads can then be added to the package.
public virtual SocketIOPacket Parse(EngineIOPacket eioPacket, SocketIOClient client)
Parameters
eioPacketEngineIOPacketThe Engine.IO packet to parse
clientSocketIOClientA reference to the Scoket.IO client
Returns
- SocketIOPacket
A Socket.IO packet instance