IncomingPacket¶
Represents a packet received from the the Socket.IO server.
Fields:¶
IncomingPacket IncomingPacket.Empty
¶
- Represents an uninitialized packet.
TransportEventTypes TransportEvent¶
- Event type of this packet on the transport layer.
SocketIOEventTypes SocketIOEvent¶
- The packet's type in the Socket.IO protocol.
Int32 Id¶
- The internal ack-id of this packet.
String Namespace¶
- The sender namespace's name.
Int32 AttachementCount¶
- Count of binary data expected after the current packet.
List<BufferSegment> Attachements¶
- list of binary data received.
String EventName¶
- The decoded event name from the payload string.
Object[] DecodedArgs¶
- The decoded arguments by the parser.
Object DecodedArg¶
- Decoded argument if there's only one. Otherwise they are in the DecodedArgs property.
String Payload¶
- In case of JSon serialization, it's the json payload sent by the server.
Methods:¶
String ToString()¶
- Returns with the Payload of this packet.