plex
n-tier proxy tree for nodejs
0.0.7 - high alpha - api changes/deprecations without warning.
Install
npm install plex --save
Usage (basic)
require'plex'start # # with this opts hash/literal # secret: 'SEEKRIT' connect: # # establish connection to parent proxy # adaptor: 'socket.io' uri: 'https://rootward.proxy:10001' listen: # # listen for children # adaptor: 'socket.io' port: 10002 # OR server: myHttpsServer # # define protocol # : subscribe 'event:name' publish 'event:name:ack''thank you :)'
Usage (advanced)
plex = require 'plex' constructor: args # # constructor should assemble # the necessary @opts hash/literal # context = plexstart my: 'args'