1.0.4 • Published 8 years ago

jpc v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

JPC

JPC is JavaScript Library that provides JSON-RPC 2.0 client with pub/sub channels support via WebSockets.

Usage

You should set up your backend to support JSON-RPC 2.0 via WebSockets. I recommend to use my gem http://github.com/lysenkooo/jpc-ruby.

var jpc = JPC('ws://localhost:8090');

jpc.call('ping', null, function(response) {
    console.log('Response: ', response);
});
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago