[−][src]Module pueue::protocol
Re-exports
pub use crate::platform::socket::*; |
Functions
receive_bytes | Receive a byte stream depending on a given header. This is the basic protocol beneath all pueue communication. |
receive_message | Convenience wrapper that receives a message and converts it into a Message. |
send_bytes | Send a Vec of bytes. Before the actual bytes are send, the size of the message is transmitted in an header of fixed size (u64). |
send_message | Convenience wrapper around send_bytes. Deserialize a message and feed the bytes into send_bytes. |