SubscriptionResponse

data class SubscriptionResponse(messages: List<ClientMessageWrapper>) : SignaldResponseBodyV1

Responses from the subscribe / unsubscribe endpoint. The protocol describes these as empty responses, but race conditions can occur. This response can contain messages sent before the (un)subscribe acknowledgement message from signald.

Constructors

Link copied to clipboard
fun SubscriptionResponse(messages: List<ClientMessageWrapper> = emptyList())

Properties

Link copied to clipboard
val messages: List<ClientMessageWrapper>

Messages that have been sent by the socket during the (un)subscribe submission.