Skip to content
/ jpc-js Public
forked from lysenkooo/jpc-js

JPC is javascript library that provides JSON-RPC 2.0 client with pub/sub channels support

License

Notifications You must be signed in to change notification settings

RCNTEC/jpc-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

JPC is javascript library that provides JSON-RPC 2.0 client with pub/sub channels support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%