Registry / networking / jsonrpc-ws-server

jsonrpc-ws-server

JSON →
library18.0.0rscratesunverified

WebSockets server for JSON-RPC

# Cargo.toml [dependencies] jsonrpc-ws-server = "18.0.0"
INSTALL
IMPORT
SIG · JSONRPC-WS-SERVER
J
jsonrpc-ws-server
networkingrustv18.0.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.

Server
use jsonrpc_ws_server::Server;

Start a JSON-RPC WebSocket server

use jsonrpc_ws_server::Server; fn main() { let server = Server::new("127.0.0.1:3030".parse().unwrap()); server.start(); }
Debug
Known issues
gotchaRequires tokio runtime for async operation
fix
Ensure tokio is included as a dependency and runtime is configured
affects: >=18.0.0
Upgrade
Version history
18.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jsonrpc-ws-server — cargo add jsonrpc-ws-server · libregistry