GithubHelp home page GithubHelp logo

kalmyk / fox-wamp Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 6.0 673 KB

Web Application Message Async Server and WAMP/MQTT bridge

License: MIT License

JavaScript 99.72% Shell 0.28%
mqtt websocket iot map-reduce stream-processing wamp-router async-storage

fox-wamp's People

Contributors

dependabot[bot] avatar kalmyk avatar vdiez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fox-wamp's Issues

Example for authentication?

Hi,

I see you have added authentication to this WAMP router, however I'm checking the code but I don't see a clear way to use the authentication mechanism. Can you provide an example, if I'm using JWT for example?

Thanks!

[Q] Integrate with vue-cli-service

How would one go about running your router along with a self-served Vue application?

The standard way to extend Vue's devServer:

// vue.config.js
module.exports = {
  devServer: {
    port: 3000,
    before(app, server, compiler) {
      // stuff...
    },
  },
};

If i create FoxRouter like so:

const FoxRouter = require('fox-wamp');
// ...
before(app, server) {
  const router = new FoxRouter();
  router.listenWAMP({server, path: '/ws/'});
}

the process dies, beause it cannot find the method on on the server instance.

If i create the router like so:

const FoxRouter = require('fox-wamp');
// ...
before(app, server) {
  const router = new FoxRouter();
  router.listenWAMP({server: app, path: '/ws/'});
}

then the default index page gets served if i navigate to /ws/.

Could You please advise?

Why limiting RPC to 1?

Hello,

according to what I see on:

if (subD.isAble()) {

you are limiting to one single call per RPC. Any reason to do that? the WAMP protocol does not limit that explicitly, so you are limiting functionality. In any case, should be unlimited by default and with the posibility to limit it by configuration parameters.

fox-wamp cluster

Hi,
I want design a fox-wamp cluster. I need know how I can access to registered rpc clients to capture rpc demand from another nodes and propagate this request to client who registered that rpc
Thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.