Table of Contents

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

eioPacket EngineIOPacket

The Engine.IO packet to parse

client SocketIOClient

A reference to the Scoket.IO client

Returns

SocketIOPacket

A Socket.IO packet instance