Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 586 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 586 Bytes

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.