Expand description
Commands answered by the federation output service.
§arminius-lib-federation-output-service-messages
The inbound message bus API of the federation output service.
A message is defined in the arminius-lib-{service}-messages crate of the
service that handles it.
§Subject layout
federation-output-service.commands.<name>.v1 request-reply, this service answersThe service-prefixed, two-segment federation-output-service.commands.
namespace is load bearing, not cosmetic.
Two streams whose subjects overlap cannot coexist in one NATS account, so a
command subject must not share a prefix with any other stream. Naming a
command federation.output.discover_server_keys would infer the filter
federation.output.>, which swallows this service’s existing
federation.output.* stream and fails at startup with subjects overlap with an existing stream.
Modules§
- command 🔒
- Commands the federation output service handles.
- error 🔒
- The error half of every federation output command reply.
Structs§
- Claim
OneTime Keys Command - Claim one-time keys from a remote homeserver.
- Discover
Server Keys Command - Fetch a remote homeserver’s signing keys.
- Error
Response - An error response relayed from a remote homeserver.
- Fetch
User Keys Command - Fetch identity keys from a remote homeserver.
- GetProfile
Command - Fetch a user’s profile from their homeserver.
- Make
Join Command - Ask a remote homeserver for a join event template.
- Make
Join Reply - A remote homeserver’s answer to a
make_joinrequest. - Retrieve
Event Command - Retrieve a single event from a remote homeserver.
- Send
Invite Command - Invite a remote user into a local room.
- Send
Join Command - Submit a signed join event to a remote homeserver.
Enums§
- Misc
Request Error - Why a federation output command could not be fulfilled.
Constants§
- COMMAND_
SUBJECT_ FILTER - The JetStream stream filter every command in this crate resolves to.