MlsTransport

interface MlsTransport(source)

Used by core crypto to send commits or application messages to the delivery service. This trait must be implemented before calling any functions that produce commits.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun prepareForTransport(historySecret: HistorySecret): MlsTransportData

Prepare a history secret before being sent

Link copied to clipboard
abstract suspend fun sendCommitBundle(commitBundle: CommitBundle): MlsTransportResponse

Send a commit bundle to the corresponding endpoint.

Link copied to clipboard
abstract suspend fun sendMessage(mlsMessage: ByteArray): MlsTransportResponse

Send a message to the corresponding endpoint.