SSE Client Dart Package
A simple Dart package for handling Server-Sent Events (SSE). This package allows you to connect to an SSE server, receive streamed events, and manage the connection lifecycle easily.
Features
- Connect to a Server-Sent Events (SSE) server.
- Stream and process data from the server.
- Support for adding custom HTTP headers during the connection.
- Error handling during event streaming.
- Stream connection closing and cleanup.
Installation
To use this package, add it to your pubspec.yaml
file:
dependencies:
sse_client: ^1.0.2
Libraries
- sse_dart_client
- This library allow listen SSE events sent by server.