dart_sse 0.0.2 copy "dart_sse: ^0.0.2" to clipboard
dart_sse: ^0.0.2 copied to clipboard

Dart package to help consume SSE API. It consumes server sent events by returning parsed model of the event, id, and the data

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_sse

With Flutter:

 $ flutter pub add dart_sse

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_sse: ^0.0.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_sse/dart_sse.dart';
2
likes
160
points
24
downloads

Publisher

verified publisherdevac.fr

Weekly Downloads

Dart package to help consume SSE API. It consumes server sent events by returning parsed model of the event, id, and the data

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on dart_sse