wsf

wamp-server-fix

WAMP Basic Profile Router

Showing:

Popularity

Downloads/wk

6

GitHub Stars

32

Maintenance

Last Commit

3mos ago

Contributors

8

Package

Dependencies

2

Size (min+gzip)

14.8KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

WAMP Router Server

NPM version Build Status Test coverage Greenkeeper badge

Implemented by following the WAMP standards.

Compatible with Autobahn JS

Currently only the Basic Profile is implemented.

  • hello
  • welcome
  • abort
  • goodbye
  • error
  • publish
  • published
  • subscribe
  • subscribed
  • unsubscribe
  • unsubscribed
  • event
  • call
  • result
  • register
  • registered
  • unregister
  • unregistered
  • invocation
  • yield

Why

The other two node implementations have memory leaks.

Note

The current source is written in Typescript and the release is the compiled javascript version. Once ES6 modules land in node, the only significant difference between the src/ and the release/ will be the types. At some point, the implementation may be moved to node completely.

Installation

$ npm install wamp-server

Usage

'use strict';
const WAMP_SERVER = require('wamp-server');
const SERVER = new WAMP_SERVER({
  port: 8000,
  realms: ['com.example.inge'], // array or string
});
// to close the server - SERVER.close();

Debugging

For debugging you can use the DEBUG variable - DEBUG=wamp:*

Contributing

Any contribution will be highly appreciated

Development

$ npm install
$ typings install
$ npm run dev

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100