websocket_core 1.0.0
websocket_core: ^1.0.0 copied to clipboard
Core WebSocket Backend for Dart — explicit, performant, no magic abstractions. Pure dart:io WebSocket with session management, reconnection, rooms and protocol versioning.
1.0.0 #
- Initial release of websocket_core.
- Core Features:
- Pure
dart:ioWebSocket transport (zero external dependencies). - Explicit connection and session management (
Session > Connectionmodel). - Protocol versioning support.
- Logical rooms system tracking sessions instead of sockets.
- Pluggable authentication interface.
- Configurable Heartbeat (ping/pong) and timeout detection.
- Robust reconnection handling with state preservation.
- Event Dispatcher with middleware support.
- Rate Limiting middleware for abuse protection.
- Typed exceptions for better error handling.
- Interfaces for scalability (Pub/Sub and Metrics logic).
- Pure