Skip to main content

Module activitypub

Module activitypub 

Source
Expand description

ActivityPub client: one actor, served (document, key, inbox) on a local port by the server’s instance code, driven by the handler. Verified inbox activities and the outcome of every action are events.

Re-exports§

pub use actions::ActivityPubClientProtocol;

Modules§

actions
What the model does as one fediverse actor: look actors up, follow and unfollow, post notes, like and fetch. The actor is real: NetGet serves its document, key and inbox on a local port, because federation only works when the other side can fetch the signer’s key and deliver Accepts back.

Constants§

MAX_ENDPOINT_CONNECTIONS
Connections the actor’s endpoint serves at once.
MAX_FOLLOWUP_DEPTH
A handler chain (answer → event → answer …) stops after this many follow-ups.

Functions§

connect