FLUTTER ECOSYSTEM

sse

Provides client and server functionality for setting up bi-directional communication through Server Sent Events (SSE) and corresponding POST requests.

Latest version
4.2.0
30-day downloads
7.7M
Likes
92
Pub points
130

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The sse package enables bi-directional communication between clients and servers using Server-Sent Events (SSE) and supporting POST requests. It provides a straightforward way to establish real-time data streams from server to client, ideal for live updates, notifications, or event-driven applications. The package includes both client and server implementations, allowing developers to build full SSE-based workflows within Dart and Flutter apps. It is designed for use in environments where persistent, lightweight, and efficient communication is needed without the overhead of WebSockets.

Use cases
  • Real-time notifications
  • Live data streaming
  • Event-driven UI updates
  • Server-to-client messaging
  • Monitoring and logging
Key features
  • Bidirectional communication via SSE
  • Support for POST requests
  • Client and server implementations
  • Lightweight and efficient
  • Simple API for event handling
Suitable for
  • Apps needing live updates
  • Backend services with event broadcasting
  • Dart/Flutter projects requiring real-time features
  • Use cases where WebSockets are too heavy
  • Development teams using Dart on server and client
Considerations
  • Limited to server-to-client streaming (unless combined with other methods)
  • No built-in authentication or security
  • Requires compatible server setup
  • Not suitable for high-frequency bidirectional messaging
  • Depends on stable network connectivity
Supported platformsNot available

Install package

flutter pub add sse

Categories

Dependencies

Dependency list 7 items

Source repository

Related projects