Table of Contents

Class DefaultParser

Namespace
Firesplash.GameDevAssets.SocketIOPlus
Assembly
Firesplash.GameDevAssets.SocketIOPlus.dll

This implemented the default Socket.IO parser to parse string typed EngineIO messages into Socket.IO and encode packets vice versa.

public class DefaultParser : Parser
Inheritance
DefaultParser

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 override SocketIOPacket Parse(EngineIOPacket eioPacket, SocketIOClient client)

Parameters

eioPacket EngineIOPacket
client SocketIOClient

Returns

SocketIOPacket