Jovian Framework RPC Socket Server
npm install jovianserverJovian RPC Socket Server
=========
A small RPC Socket Server message processor for node. This
processor designed for listening to socket events and processing their RPC
requests. The processor is fully JSON RPC 2.0 compliant and can be used without
a socket server as a stand-alone RPC message processor.
[![NPM Version][npm-image]][npm-url]
[![DWX Awesome][dwx-image]][dwx-url]
``js
`
// Include the Jovian Server
var Server = require('jovianserver');
// Extend the server class with your own methods that
// will be executed by the RPC Request Processor. Every
// method should have "socket" as it's first parameter
Server.prototype.myMethod = function(socket, param1, param2) {
// Some code
}
var myServer = new Server();
myServer.start(port);
`
$3
bash
``
$ npm install --save jovianserver