FLUTTER ECOSYSTEM

shelf_web_socket

A shelf handler that wires up a listener for every connection.

Latest version
3.0.0
30-day downloads
7.3M
Likes
155
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

ShelfWebSocket is a Dart package that integrates WebSocket functionality into the Shelf web server framework. It provides a handler to manage WebSocket connections, enabling real-time communication between clients and servers. Each incoming connection triggers a listener, allowing developers to handle messages, broadcasts, and connection lifecycle events efficiently. Built for use with Shelf, it supports cross-platform deployment across Android, iOS, macOS, Windows, and Linux. Ideal for applications requiring live updates, chat systems, or real-time data synchronization.

Use cases
  • Real-time chat applications
  • Live data streaming
  • Interactive web dashboards
  • Multiplayer game backends
  • IoT device communication
Key features
  • Seamless integration with Shelf
  • Per-connection listener handling
  • Cross-platform support
  • Simple message broadcasting
  • Built-in connection lifecycle management
Suitable for
  • Developers using Shelf for backend services
  • Real-time application developers
  • Full-stack Dart developers
  • Server-side Dart projects
  • Web and mobile backend development
Considerations
  • Requires understanding of Shelf framework
  • Not suitable for standalone WebSocket servers
  • Limited to Dart-based server environments
  • May require additional security measures
  • Dependent on shelf package version compatibility
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add shelf_web_socket

Categories

Source repository

Related projects

Rankings