Crate atrium_xrpc
source ·Expand description
§ATrium XRPC
Definitions for ATProto’s XRPC request/response, and their associated errors.
The XrpcClient
trait inherits from and uses HttpClient
to provide a default implementation for handling XRPC requests. So developers can create their own Client for XRPC by implementing an HttpClient
that sends asynchronous HTTP requests according to this interface.
Re-exports§
pub use crate::error::Error;
pub use crate::error::Result;
pub use crate::types::InputDataOrBytes;
pub use crate::types::OutputDataOrBytes;
pub use crate::types::XrpcRequest;
pub use http;
Modules§
- Error types.
Traits§
- An abstract HTTP client.
- An abstract XRPC client.