Skip to content

FCLM/ps2wss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) {});
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published