Public-facing XRPC client built on top of Exosphere.ATProto.XRPC.Client.
Summary
Functions
Create a new XRPC client.
Make an XRPC procedure (HTTP POST).
Make an XRPC query (HTTP GET).
Upload a blob to the PDS.
Set the access token on a client.
Types
@type t() :: Exosphere.ATProto.XRPC.Client.t()
Functions
Create a new XRPC client.
See Exosphere.ATProto.XRPC.Client.new/2 for options.
@spec procedure(t(), String.t(), map() | keyword()) :: {:ok, Exosphere.ATProto.HTTP.json_term()} | {:error, Exosphere.ATProto.XRPC.Client.error()}
Make an XRPC procedure (HTTP POST).
@spec query(t(), String.t(), keyword() | map()) :: {:ok, Exosphere.ATProto.HTTP.json_term()} | {:error, Exosphere.ATProto.XRPC.Client.error()}
Make an XRPC query (HTTP GET).
@spec upload_blob(t(), binary(), String.t()) :: {:ok, map()} | {:error, Exosphere.ATProto.XRPC.Client.error()}
Upload a blob to the PDS.
Set the access token on a client.