web_socket_client library
A reusable WebSocket client for Dart.
Classes
- Backoff
- An backoff strategy abstraction. A backoff strategy is a technique used to re-attempt failing calls after a delay.
- BinaryExponentialBackoff
- A binary exponential backoff strategy. This backoff strategy will double the backoff duration on each attempt until the maximum step is reached.
- Connected
- The WebSocket connection is established and communication is possible.
- Connecting
- The WebSocket connection has not yet been established.
- Connection
- An object which contains information regarding the current WebSocket connection.
- ConnectionState
- The state of a WebSocket connection.
- ConstantBackoff
- A constant backoff strategy. This backoff strategy will always return the same value.
- Disconnected
- The WebSocket connection has been closed or could not be established.
- Disconnecting
- The WebSocket connection is going through the closing handshake, or the close() method has been invoked.
- LinearBackoff
- A linear backoff strategy. This backoff strategy will increase the backoff duration by a constant duration on each attempt.
- Reconnected
- The WebSocket connection was lost and has been re-established.
- Reconnecting
- The WebSocket connection was lost and is in the process of being re-established.
- WebSocket
- A reusable WebSocket client for Dart.