djangoflow_websocket 0.1.0+6 djangoflow_websocket: ^0.1.0+6 copied to clipboard
Easily manage connecting to a WebSocket server, subscribing to messages, handling reconnections etc all at once with djangoflow_websocket
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add djangoflow_websocket
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
djangoflow_websocket: ^0.1.0+6
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:djangoflow_websocket/djangoflow_websocket.dart';