scuttlebutt-handshake / org.apache.tuweni.scuttlebutt.handshake / SecureScuttlebuttStreamServer / sendToClient

sendToClient

abstract fun sendToClient(message: Bytes): Bytes (source)

Prepares a message to be sent to the client

Parameters

message - the message to encrypt and format

Return
the message, encrypted and ready to send