websocket_plugin library
Classes
- MockWebSocketAdapter
- Mock WebSocket adapter for testing purposes
- WebSocketAdapter
- Abstract adapter interface for WebSocket implementations This allows for easy switching between different WebSocket libraries
- WebSocketChannelAdapter
- WebSocket adapter implementation using the web_socket_channel package
- WebSocketClient
- High-level WebSocket client that uses adapters for implementation
- WebSocketConfig
- Configuration class for WebSocket connections
- WebSocketMessage
- Represents a WebSocket message with metadata
Enums
- WebSocketState
- Represents the current state of a WebSocket connection
Extensions
- WebSocketStateExtension on WebSocketState
- Extension to provide human-readable descriptions