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