Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rpc-websockets

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpc-websockets - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

package.json
{
"name": "rpc-websockets",
"version": "3.0.0",
"version": "3.0.1",
"description": "JSON-RPC 2.0 implementation over WebSockets for Node.js",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -186,3 +186,3 @@ <div align="center"><img src="misc/images/logo.png"/></div>

### server.register(method, handler)
### server.register(method, handler[, namespace])

@@ -194,2 +194,3 @@ Registers an RPC method.

* `handler` {Function}: RPC function that will be fired with a possible parameter object once the method is called.
* `namespace` {String}: Namespace identifier. Defaults to ```/```.

@@ -196,0 +197,0 @@ ### server.event(name[, namespace])

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc