Skip to main content

Crate arcp_client

Crate arcp_client 

Source
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
ARCPClient and the type-state Session<S> (RFC §4.6, §8).
handlers
Client-side event handlers.

Structs§

Envelope
Typed protocol envelope (RFC §6.1).

Enums§

ARCPError
In-process error type returned from library APIs.
ErrorCode
Canonical wire-level error code (RFC §18.2).
MessageType
Tagged enum of every protocol message payload (RFC §6.2).

Constants§

PROTOCOL_VERSION
Protocol version implemented by this crate, as carried in the arcp field of every envelope (RFC §6.1).