s_socket_io_common library Null safety
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
- WTF8
- wtf8.dart
Constants
- ACK → const int
-
3
- BINARY_ACK → const int
-
6
- BINARY_EVENT → const int
-
5
- CONNECT → const int
-
0
- DISCONNECT → const int
-
1
- ERROR → const int
-
4
- EVENT → const int
-
2
-
PacketTypeList
→ const List<
String?> -
const <String?>['open', 'close', 'ping', 'pong', 'message', 'upgrade', 'noop']
-
PacketTypeMap
→ const Map<
String, int> -
const <String, int>{'open' : 0, 'close' : 1, 'ping' : 2, 'pong' : 3, 'message' : 4, 'upgrade' : 5, 'noop' : 6}
Properties
-
PacketTypes
↔ List<
String?> -
A socket.io Encoder instance
read / write
- protocol → int
-
final