websocket_core 1.0.0 copy "websocket_core: ^1.0.0" to clipboard
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:io WebSocket transport (zero external dependencies).
    • Explicit connection and session management (Session > Connection model).
    • 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).
1
likes
0
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

Core WebSocket Backend for Dart — explicit, performant, no magic abstractions. Pure dart:io WebSocket with session management, reconnection, rooms and protocol versioning.

Repository (GitHub)
View/report issues

Topics

#websocket #server #backend #realtime #dart-io

License

unknown (license)

More

Packages that depend on websocket_core