Skip to content

kkazuo/dart-wamp-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wamp_client

A library for Dart WAMP client.

Usage

A simple usage example:

import 'package:wamp_client/wamp_client.dart';

main() async {
  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.

About

A library for Dart WAMP client.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages