tuweni / org.apache.tuweni.scuttlebutt.handshake / SecureScuttlebuttStreamServer / isGoodbye

isGoodbye

open static fun isGoodbye(message: Bytes!): Boolean (source)

Checks if a message is a goodbye message, indicating the end of the connection

Parameters

message - Bytes!: the message to interpret

Return
Boolean: true if the message is a goodbye message, or false otherwise