Skip to main content

send_message

Function send_message 

Source
async fn send_message<Crypto, Com, Ses>(
    inner: &IpcClientInner<Crypto, Com, Ses>,
    message: OutgoingMessage,
) -> SendOutcome
where Crypto: CryptoProvider<Com, Ses>, Com: CommunicationBackend, Ses: SessionRepository<Crypto::Session>,
Expand description

Send a message through the crypto provider, split into as many fragments as the provider’s payload limit requires. Fragments are sent in order and sending stops at the first failed fragment. A fatal error stops the client.