abstract fun sendMessage(verb: Verb, attributes: String, peer: Peer, hash: Bytes, @Nullable payload: Bytes?): Unit
Sends bytes to a peer.
verb - the type of message
verb
attributes - the attributes of message
attributes
peer - the target of the message
peer
hash - the hash of the message
hash
payload - the bytes to send
payload