socket_io_common library
socket_io_common.dart
Purpose:
Description:
History: 20/11/2018, Created by jumperchen
Copyright (C) 2018 Potix Corporation. All Rights Reserved.
Classes
- Binary
- BinaryReconstructor
- A manager of a binary event's 'buffer sequence'. Should be constructed whenever a packet of type BINARY_EVENT is decoded.
- Decoder
- A socket.io Decoder instance
- Encoder
- PacketParser
Constants
- ACK → const int
- BINARY_ACK → const int
- BINARY_EVENT → const int
- CONNECT → const int
- CONNECT_ERROR → const int
- DISCONNECT → const int
- EVENT → const int
-
RESERVED_EVENTS
→ const List<
String> - These strings must not be used as event names, as they have a special meaning.
Properties
Functions
-
isAckIdValid(
dynamic id) → bool -
isInteger(
dynamic value) → bool -
isNamespaceValid(
dynamic nsp) → bool -
isObject(
dynamic payload) → bool -
isPacketValid(
dynamic packet) → bool