Pleroma v1.1.9-10-g42f76306+dev Pleroma.Web.Websub View Source

Link to this section Summary

Functions

Gathers nodeinfo protocol names supported by the federation module.

Gathers links used by an outgoing federation module for WebFinger output.

Determine whether an activity can be relayed using the federation module.

Relays an activity to all specified peers.

Relays an activity to a specified peer, determined by the parameters. The parameters used are controlled by the federation module.

Link to this section Functions

Link to this function

gather_feed_data(topic, getter \\ &HTTP.get/1)

View Source
Link to this function

gather_nodeinfo_protocol_names()

View Source

Gathers nodeinfo protocol names supported by the federation module.

Callback implementation for Pleroma.Web.Federator.Publisher.gather_nodeinfo_protocol_names/0.

Link to this function

gather_webfinger_links(user)

View Source

Gathers links used by an outgoing federation module for WebFinger output.

Callback implementation for Pleroma.Web.Federator.Publisher.gather_webfinger_links/1.

Link to this function

incoming_subscription_request(user, params)

View Source
Link to this function

is_representable?(activity)

View Source

Determine whether an activity can be relayed using the federation module.

Callback implementation for Pleroma.Web.Federator.Publisher.is_representable?/1.

Link to this function

publish(actor, activity)

View Source

Relays an activity to all specified peers.

Callback implementation for Pleroma.Web.Federator.Publisher.publish/2.

Link to this function

publish(topic, user, activity)

View Source

Relays an activity to a specified peer, determined by the parameters. The parameters used are controlled by the federation module.

Callback implementation for Pleroma.Web.Federator.Publisher.publish_one/1.

Link to this function

refresh_subscriptions(delta \\ 60 * 60 * 24)

View Source
Link to this function

request_subscription(websub, poster \\ &HTTP.post/3, timeout \\ 10000)

View Source
Link to this function

subscribe(subscriber, subscribed, requester \\ &request_subscription/1)

View Source
Link to this function

verify(subscription, getter \\ &HTTP.get/3)

View Source