Registry / networking / iroh-rpc-client

iroh-rpc-client

JSON →
library0.2.0rscratesunverified

RPC type client for iroh

# Cargo.toml [dependencies] iroh-rpc-client = "0.2.0"
INSTALL
IMPORT
SIG · IROH-RPC-CLIENT
I
iroh-rpc-client
networkingrustv0.2.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.

RpcClient
use iroh_rpc_client::RpcClient;

Create an RPC client for iroh

use iroh_rpc_client::RpcClient; #[tokio::main] async fn main() { let client = RpcClient::new("http://localhost:50051").await.unwrap(); // use client }
Debug
Known issues
gotchaRequires a running iroh RPC server
fix
Ensure iroh server is running with RPC enabled
affects: >=0.1.0
Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
iroh-rpc-client — cargo add iroh-rpc-client · libregistry