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

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