Package-level declarations
Types
Link copied to clipboard
data class SubscribeAccount(val seq: Long, val did: Did, val time: Timestamp, val active: Boolean, val status: SubscribeAccountStatus? = null)
Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active.
Link copied to clipboard
If active=false, this optional field indicates a reason for why the account is not active.
Link copied to clipboard
Link copied to clipboard
data class SubscribeCommit(val rev: String, val operation: SubscribeCommitOperation, val collection: Nsid, val rkey: RKey, val record: JsonContent? = null, val cid: Cid? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SubscribeEvent(val did: Did, val time_us: Long, val kind: SubscribeEventKind, val commit: SubscribeCommit? = null, val identity: SubscribeIdentity? = null, val account: SubscribeAccount? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SubscribeIdentity(val seq: Long, val did: Did, val time: Timestamp, val handle: Handle? = null)
Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.
Link copied to clipboard
Link copied to clipboard
Send messages back to Jetstream over the websocket.