0.0.1 • Published 10 years ago

ps2wss v0.0.1

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
10 years ago

ps2wss

A super simple extension of WebSocket built to abstract away some of the complexity in working with SOE's Planetside 2 Web Socket Service.

Please note that this is a work-in-progress and should not be used for anything but experimentation!

Usage

Installing

npm install ps2wss

Example

var stream = require('ps2wss').connect('example', function () {
  stream.subscribe(['PlayerLogin', 'PlayerLogout'], {"worlds": ["1"]});
  stream.on('PlayerLogin', function (payload) {});
  stream.on('PlayerLogout', function (payload) {});
});
0.0.1

10 years ago

0.0.0

10 years ago