Expand description
Reference client (consumer side) for the Agent Runtime Control Protocol.
Ships ARCPClient and the type-state Session for opening,
authenticating, and driving a session over any
Transport. Job, stream, and
subscription handles hang off Session<Authenticated>.
Wire-format types are re-exported from arcp-core for ergonomics; most
users should pull in the umbrella arcp crate which bundles client +
runtime + core.
Re-exports§
pub use api::ARCPClient;pub use api::Authenticated;pub use api::JobHandle;pub use api::Session;pub use api::SubscriptionHandle;pub use api::Unauthenticated;
Modules§
- api
ARCPClientand the type-stateSession<S>(RFC §4.6, §8).- handlers
- Client-side event handlers.
Structs§
- Envelope
- Typed protocol envelope (RFC §6.1).
Enums§
- ARCP
Error - In-process error type returned from library APIs.
- Error
Code - Canonical wire-level error code (RFC §18.2).
- Message
Type - Tagged enum of every protocol message payload (RFC §6.2).
Constants§
- PROTOCOL_
VERSION - Protocol version implemented by this crate, as carried in the
arcpfield of every envelope (RFC §6.1).