channel_sender_client 3.1.0-beta.2
channel_sender_client: ^3.1.0-beta.2 copied to clipboard
A Dart client for sending and receiving real-time events using WebSocket or SSE over Async DataFlow channels.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add channel_sender_clientWith Flutter:
$ flutter pub add channel_sender_clientThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
channel_sender_client: ^3.1.0-beta.2Alternatively, 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:channel_sender_client/channel_sender_client.dart';