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.

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.
Request
A JSON-RPC request object.

Enums§

RequestId
JSON RPC Request Id
Response
A JSON-RPC response object.