Skip to main content

Module chat_relay

Module chat_relay 

Source
Expand description

Group chat relay — publish to daemon inbox and pull from peer relay endpoints.

Structs§

PullResponse
RelayEnvelope

Functions§

apply_incoming_envelope
Apply an inbound RelayEnvelope to a session, regardless of the transport it arrived on.
local_relay_base_url
Local relay-base-url.
message_to_envelope
Wraps a message in an envelope.
notify_session_updated
Notifies a session update.
publish_envelope
Publishes an envelope to the relay.
publish_session_message
Publishes a session message.
pull_from_relay
Pulls envelopes from the relay.
relay_notify_channel
Relay notify channel.
start_relay_poller
Starts the relay poller.
sync_all_group_sessions
Syncs all group sessions.
sync_session_relay
Syncs a session with the relay.