Description
rpc-websockets is a JSON-RPC 2.0 implementation over WebSockets for Node.js and for JavaScript and TypeScript in the browser. It lets you send and receive JSON messages over a WebSocket connection, so a server can push notifications to clients, run RPC methods and fire events. Only clients can call RPC methods at the moment, not the other way round. Both HTML and JavaScript frontends and Node.js backends are supported, and the library supports both the LTS and Current Node.js releases. The open source edition lets you implement and manage your own WebSocket server instances under a permissive license. The API documentation covers the WebSocket server and client classes in JavaScript and TypeScript. A Pro plan is also offered: the authors manage your instances and provide a web portal for your methods, events and notifications, plus extra features and professional support. The page does not list Pro prices.…
Highlights
- JSON-RPC 2.0 over WebSockets
- Server push notifications and events
- Node.js and browser JavaScript or TypeScript support
- Open source edition under a permissive license
- Pro plan with managed instances and a web portal
Ratings & Reviews
No ratings yet
Be the first to rate RPC Websockets.
People also visit
Wampy.js
Feature-rich lightweight WAMP (Web Application Messaging Protocol) Javascript…
RPC Websockets FAQ
What is rpc-websockets?
A library that adds JSON-RPC 2.0 messaging on top of WebSockets, for Node.js and for JavaScript or TypeScript in the browser.
Is the library free?
The open source edition is free to use under a permissive license. The page does not list prices for the Pro plan.
What does the Pro plan add?
The authors manage your WebSocket instances and provide a web portal for methods, events and notifications, plus extra features and professional support.
Which runtimes are supported?
Node.js LTS and Current releases, and frontend environments written in HTML and JavaScript.
Can the server call methods on clients?
Not at the moment. The page says only clients can call RPC methods.
What are the best RPC Websockets alternatives?
Popular alternatives to RPC Websockets include vask, Stompjs and Nexus. See all RPC Websockets alternatives
