Module message

Source
Expand description

Levin Messages

This module contains the LevinMessage, which allows sending bucket body’s, full buckets or dummy messages. The codec will not return LevinMessage instead it will only return bucket body’s. LevinMessage allows for more control over what is actually sent over the wire at certain times.

Structs§

Dummy
This represents a dummy message to send to a peer.

Enums§

LevinMessage
A levin message that can be sent to a peer.

Functions§

make_fragmented_messages
Fragments the provided message into buckets which, when serialised, will all be the size of fragment_size.