0.1.0 • Published 9 years ago

stompjs-proxy v0.1.0

Weekly downloads
6
License
BSD
Repository
github
Last release
9 years ago

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',
  },
});