pusher_channels 0.5.2 pusher_channels: ^0.5.2 copied to clipboard
A pure Dart pusher channels client
pusher_channels
is a not official pure Dart pusher channels client.
This client is work in progress and it is unstable.
Usage #
A simple usage example:
import 'package:pusher_channels/pusher_channels.dart';
main() {
final pusher = Pusher(key: 'YOUR_APP_KEY');
await pusher.connect();
final channel = pusher.subscribe('channel');
channel.bind('event', (event) {
print('WOW event: $event');
});
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.