{"library":"ws-rpc","type":"library","category":null,"description":"ws-rpc is a lightweight RPC extension for the ws WebSocket server, enabling named message types and callback-based communication for server and client. Version 0.0.8 is the latest release, with no recent updates (low activity). It provides room/channel support, client disconnect auto-removal, and integration with Express and Flash client shims. Unlike raw ws, it adds structured RPC patterns on top, but binary messages are handled separately.","language":"javascript","status":"deprecated","version":"0.0.8","tags":["javascript","websockets","websocket","connect","middleware","express","rpc"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ws-rpc","imports":["const wsrpc = require('ws-rpc').extend(wss);","app.use(require('ws-rpc').middleware(express));","Using the global object from /ws-rpc-client.min.js"]},{"cmd":"yarn add ws-rpc","imports":[]},{"cmd":"pnpm add ws-rpc","imports":[]}],"homepage":"http://github.com/ypocat/ws-rpc","github":"git://github.com/ypocat/ws-rpc","docs":null,"changelog":null,"pypi":null,"npm":"ws-rpc","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}