Skip to main content

Module rpc

Module rpc 

Source
Expand description

JSON-RPC envelope types shared by ACP clients and agents.

These types model the JSON-RPC 2.0 request, response, notification, and batch envelopes that wrap ACP method-specific payloads.

Re-exports§

pub use crate::v1::Request;
pub use crate::v1::RequestId;
pub use crate::v1::Response;

Structs§

EmptyJsonRpcBatch
Error returned when constructing an empty JSON-RPC batch.
JsonRpcBatch
A non-empty JSON-RPC 2.0 batch message.
JsonRpcMessage
A message (request, response, or notification) with "jsonrpc": "2.0" specified as required by JSON-RPC 2.0 Specification.
Notification
A JSON-RPC notification object.