Registry / networking / jsonrpsee-ws-client

jsonrpsee-ws-client

JSON →
library0.26.0rscratesunverified

JSON-RPC websocket client.

# Cargo.toml [dependencies] jsonrpsee-ws-client = "0.26.0"
INSTALL
IMPORT
SIG · JSONRPSEE-WS-CLIEN
J
jsonrpsee-ws-client
networkingrustv0.26.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.

WsClient
✓ use jsonrpsee_ws_client::WsClient;

Create a new WebSocket JSON-RPC client.

use jsonrpsee_ws_client::WsClient; fn main() { let client = WsClient::new("ws://localhost:9944"); println!("Client created"); }
Debug
Known issues
gotchaRequires an async runtime like tokio.
fix
Add tokio as a dependency and use #[tokio::main].
affects: >=0.26.0
Upgrade
Version history
0.26.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
jsonrpsee-ws-client — cargo add jsonrpsee-ws-client · libregistry