dartpusherclient 0.0.2

Dart native
Flutter Android iOS

A simple dart package to handle pusher client side.

dartpusherclient #

A simple dart package to handle pusher client side.

Getting Started #

import 'dartpusherclient.dart';

void main() {
  Pusher p = Pusher('APP_KEY', cluster: 'eu');

  p.connect().then((Pusher pu) {
    pu.subscribe('my-channel').listen('test', (PusherEvent e) {
      print("Received: ${e.event} in ${e.channel} with data ${e.data}");
    }).listen('away', (PusherEvent e) {
      print("Received: ${e.event} in ${e.channel} with data ${e.data}");
    });
  });
}

Contributions #

Contributions are most welcome.

Roadmap: #

FeatureSince
Channels0.0.1
Private Channels?
Presence Channels?
2
likes
60
pub points
0%
popularity

Publisher

hareland.eu

A simple dart package to handle pusher client side.

Repository (GitLab)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

More

Packages that depend on dartpusherclient