rpc-websockets
rpc-websockets copied to clipboard
JSON-RPC 2.0 implementation over WebSockets for Node.js and JavaScript/TypeScript
Thank you for open sourcing this library. We're having this issue where the process is not exiting after stopping the client. We're on 7.6.0. This code should replicate the problem:...
https://github.com/elpheria/rpc-websockets/security/dependabot/13
The type bound for `fn` in `register` has a `void` return type: https://github.com/elpheria/rpc-websockets/blob/46b0190bc0ecdce4236b7ccbe93b5e687a5aaf09/src/lib/server.ts#L147 I'm rather new to TypeScript, but I would suggest a return type of `unknown | Promise` to...
I can't find a good way to send ArrayBuffer data. The only solution I've found that works is to convert to text and wrap in an object. Ideally we would...
I wonder, in the server, why is it that errors thrown in a command handler function cause that command to return to the client an error of method not found...