Expand description
Native CLI JSON-RPC client wrapper for rings subcommands.
Wraps rings_rpc::jsonrpc::Client for a running rings-node daemon. Construct unauthenticated
clients with Client::new or Bearer-authenticated clients with Client::with_api_token.
§Capabilities
- Establish WebRTC connections via HTTP signaling, seed documents, DHT routing, or manual SDP offers/answers.
- Send namespace-scoped backend messages over the overlay.
- Publish and subscribe to DHT data topics.
- Register and look up services in the DHT.
- Inspect swarm peers, Chord ring topology, and storage state.
Structs§
- Client
- Wrap json_client send request between nodes or browsers.
- Client
Output - Wrap client output contain raw result and humanreadable display.
Enums§
- Offer
Reply Kind - Whether the payload returned by
answerOfferis an answer (ConnectNodeReport) or a counter-offer (ConnectNodeSend).
Functions§
- ensure_
accept_ answer_ is_ not_ counter_ offer - Reject an encoded
ConnectNodeSendcounter-offer passed toconnect acceptwith a clear operator message pointing torings connect answer. - format_
answer_ offer_ output - Build the
ClientOutputfor an encodedanswerOfferreply.