Protocol class
Class that handles the communication protocol.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- clientTimeout → Duration
-
Client timeout (time after which a client is considered disconnected)
final
Constants
- errorConnectionClosed → const String
- Error connection closed
- errorDocumentNotFound → const String
- Error document not found
- errorHandshakeFailed → const String
- Error handshake failed
- errorInternalError → const String
- Error internal error
- errorInvalidMessage → const String
- Error invalid message
- errorTimeout → const String
- Error timeout
- handshakeTimeout → const Duration
- Handshake timeout
- maxBufferSize → const int
- Maximum buffer size
- maxReconnectAttempts → const int
- Maximum reconnect attempts
- pingInterval → const Duration
- Ping interval
- pingTimeout → const Duration
- Ping timeout
- reconnectInterval → const Duration
- Reconnect interval
- version → const String
- Version