MlsTransport
public protocol MlsTransport : AnyObject, Sendable
                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.
- 
                  
sendCommitBundle(commitBundle:Asynchronous) Send a commit bundle to the corresponding endpoint.
Declaration
Swift
func sendCommitBundle(commitBundle: CommitBundle) async -> MlsTransportResponse - 
                  
sendMessage(mlsMessage:Asynchronous) Send a message to the corresponding endpoint.
Declaration
Swift
func sendMessage(mlsMessage: Data) async -> MlsTransportResponse - 
                  
prepareForTransport(historySecret:Asynchronous) Prepare a history secret before being sent
Declaration
Swift
func prepareForTransport(historySecret: HistorySecret) async -> MlsTransportData