Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kkazuo/dart-wamp-client

A library for Dart WAMP client.
https://github.com/kkazuo/dart-wamp-client

dart wamp-protocol

Last synced: about 2 months ago
JSON representation

A library for Dart WAMP client.

Awesome Lists containing this project

README

        

# 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][tracker].

[tracker]: https://github.com/kkazuo/dart-wamp-client/issues
[WAMP]: https://wamp-proto.org