{"id":69885,"library":"jsonrpsee-ws-client","title":"jsonrpsee-ws-client","description":"JSON-RPC websocket client.","status":"active","version":"0.26.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/jsonrpsee","tags":["json-rpc","websocket","client","async"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\njsonrpsee-ws-client = \"0.26.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add jsonrpsee-ws-client","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"WsClient","correct":"use jsonrpsee_ws_client::WsClient;"}],"quickstart":{"code":"use jsonrpsee_ws_client::WsClient;\nfn main() {\n    let client = WsClient::new(\"ws://localhost:9944\");\n    println!(\"Client created\");\n}","lang":"rust","description":"Create a new WebSocket JSON-RPC client."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main].","message":"Requires an async runtime like tokio.","severity":"gotcha","affected_versions":">=0.26.0"}],"env_vars":null,"search_vec":"'async':15 'client':4,9,14 'json':6,11 'json-rpc':5,10 'jsonrpse':2 'jsonrpsee-ws-cli':1 'rpc':7,12 'websocket':8,13 'ws':3","created_at":"2026-06-17T18:06:50.703474+00:00","updated_at":"2026-06-17T18:06:50.703474+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://www.parity.io/","github":"https://github.com/paritytech/jsonrpsee","docs":"https://docs.rs/jsonrpsee-ws-client/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}