Expand description
The message type. Is the base type for all messages in the request-response protocol
Structs§
- Request
Message - A request message, which includes the requester’s public key, the request’s signature, a timestamp, and the request itself
- Response
Message - A response message, which includes the hash of the request we’re responding to and the response itself.
Enums§
- Message
- The outer message type for the request-response protocol. Can either be a request or a response
Functions§
- read_
length_ 🔒prefixed - A helper function to read a length-prefixed value from a reader
- read_
to_ 🔒end - A helper function to read to the end of the reader
- write_
length_ 🔒prefixed - A helper function to write a length-prefixed value to a writer