Registry / networking / jrick-wsrpc-v2

jrick-wsrpc-v2

JSON →
library2.4.0gogounverified

Package wsrpc provides a partial implementation of a JSON-RPC 2.0 websocket client, inspired by net/rpc.

go get github.com/jrick/wsrpc/v2
INSTALL
IMPORT
SIG · JRICK-WSRPC-V2
J
jrick-wsrpc-v2
networkinggov2.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

wsrpc
github.com/jrick/wsrpc/v2

Dial a WebSocket JSON-RPC 2.0 server.

package main import ( "github.com/jrick/wsrpc/v2" ) func main() { client, err := wsrpc.Dial("ws://example.com/rpc") if err != nil { panic(err) } defer client.Close() }
Debug
Known issues
gotchaRequest batching and keyed request parameters are not implemented.
fix
Avoid using features not supported by this package.
affects: <=2.4.0
Upgrade
Version history
2.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
jrick-wsrpc-v2 — go get jrick-wsrpc-v2 · libregistry