tuweni / 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 - Bytes!: the message to encrypt and format

Return
Bytes!: the message, encrypted and ready to send