nicobritos / pusher_channels

A pure Dart implementation of the Pusher Channels Client

Home Page:https://pusher.com/channels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pusher_channels is a 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.

About

A pure Dart implementation of the Pusher Channels Client

https://pusher.com/channels

License:MIT License


Languages

Language:Dart 100.0%