wamp_client 0.0.1 copy "wamp_client: ^0.0.1" to clipboard
wamp_client: ^0.0.1 copied to clipboard

outdatedDart 1 only

A starting point for Dart libraries or applications.

wamp_client #

A library for Dart WAMP client.

Usage #

A simple usage example:

import 'package:wamp_client/wamp_client.dart';

main() {
  var wamp = new WampClient('your.realm1')
    ..onConnect = (c) {
      c.subscribe('your.topic').then((sub) async {
        await for (var event in sub) {
          ...
        }
      });
    };

  await wamp.connect('ws://localhost:8080/ws');
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

3
likes
0
pub points
39%
popularity

Publisher

verified publisherkkazuo.com

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on wamp_client