juice_realtime 0.2.0 copy "juice_realtime: ^0.2.0" to clipboard
juice_realtime: ^0.2.0 copied to clipboard

Persistent realtime connections (WebSocket/SSE) with auto-reconnect as a Juice bloc, behind a swappable seam.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add juice_realtime

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

dependencies:
  juice_realtime: ^0.2.0

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

Import it

Now in your Dart code, you can use:

import 'package:juice_realtime/juice_realtime.dart';
0
likes
150
points
24
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Persistent realtime connections (WebSocket/SSE) with auto-reconnect as a Juice bloc, behind a swappable seam.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#websocket #realtime #sse #bloc #state-management

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, juice, web_socket_channel

More

Packages that depend on juice_realtime