An implementation of the WAMP protocol for Dart.
WAMP is an open WebSocket subprotocol that provides two asynchronous messaging patterns: RPC and PubSub. WAMP is easy to use, simple to implement and based on modern Web standards: WebSocket, JSON and URIs.
This is a port of WAMP v1 forked from https://github.com/gmosx/dart-wamp
Have a look at the included example that implements a simple chat room.
If you'd like to contribute back to the project, you can fork this repository and send us a pull request, when it is ready.
If you are new to Git or GitHub, please read this guide first.
WAMP and the logo are trademarks of Tavendo GmbH. All other trademarks are those of their respective companies.
Add this to your package's pubspec.yaml file:
dependencies: wamp2: ^0.1.0
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:wamp2/wamp.dart'; import 'package:wamp2/wamp_client.dart'; import 'package:wamp2/wamp_server.dart';
|0.1.0||May 31, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
dartdoc successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.
|Dart SDK||>=2.0.0-dev.1.2 <2.0.0|