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|
We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: web
Platform components identified in package:
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Fix analysis and formatting issues.
Analysis or formatting checks reported 4 hints.
Similar analysis of the following files failed:
Maintain an example.
None of the files in your
example/directory matches a known example patterns. Common file name patterns include:
example.dartor you could also use