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.
Modules§
- Error types.
Structs§
- A request which can be executed with
XrpcClient::send_xrpc()
.
Enums§
- A type which can be used as a parameter of
XrpcRequest
. - A type which can be used as a return value of
XrpcClient::send_xrpc()
.
Traits§
- An abstract HTTP client.
- An abstract XRPC client.