wamp2 0.1.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • new49

dart-wamp2

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

Homepage

https://github.com/ohyo-io/dart-wamp2

Example

Have a look at the included example that implements a simple chat room.

Notes to Contributors

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.

Changelog

0.1.0

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  wamp2: "^0.1.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

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';
  
Version Uploaded Documentation Archive
0.1.0 May 31, 2018 Go to the documentation of wamp2 0.1.0 Download wamp2 0.1.0 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
98 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
49
Learn more about scoring.

Platforms

Detected platforms: web

Platform components identified in package: html, io.

Suggestions

  • 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.

    Run dartfmt to format lib/src/protocol.dart.

    Run dartfmt to format lib/wamp_client.dart.

    Similar analysis of the following files failed:

    • lib/wamp_server.dart (hint)
  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use wamp2.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.1.2 <2.0.0
uuid ^1.0.0 1.0.0
Transitive dependencies
charcode 1.1.1
collection 1.14.10
convert 2.0.1
crypto 2.0.5
typed_data 1.1.5
Dev dependencies
build_runner ^0.8.8
build_test ^0.10.2
build_web_compilers ^0.4.0