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: 3 months ago
JSON representation
A library for Dart WAMP client.
- Host: GitHub
- URL: https://github.com/kkazuo/dart-wamp-client
- Owner: kkazuo
- License: isc
- Created: 2017-06-11T01:29:59.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-05-11T19:44:08.000Z (about 2 years ago)
- Last Synced: 2025-03-27T04:22:51.616Z (4 months ago)
- Topics: dart, wamp-protocol
- Language: Dart
- Size: 30.3 KB
- Stars: 8
- Watchers: 3
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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