tuweni / org.apache.tuweni.scuttlebutt.handshake / SecureScuttlebuttStreamClient / sendToServer

sendToServer

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

Prepares a message to be sent to the server

Parameters

message - the message to encrypt and format

Return
the message, encrypted and ready to send