Package selection guidance compiled from public package information, community data, and project usage.
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
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.