LeapToken / stompjs-proxy

Stomp websocket proxy, for Stomp.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stomp websocket proxy, for Stomp.js

Installation

npm install stompjs-proxy

Usage

var stompProxy = require('stompjs-proxy');

stompProxy({
  cluster: {
    size: 4,
    repl: false,
  },
  listen: {
    host: '127.0.0.1',
    port: 3000,
    path: '/stomp',
  },
  upstream: {
    host: '127.0.0.1',
    port: 61613,
  },
  auth: {
    'id': 'key',
  },
});

About

Stomp websocket proxy, for Stomp.js


Languages

Language:JavaScript 99.7%Language:HTML 0.3%