Expand description
This is probably the most interesting part for you.
Re-exports§
pub use super::socket::*;
Constants§
Functions§
- receive_
bytes - receive_
bytes_ with_ max_ size - Receive a byte stream.
This is part of the basic protocol beneath all communication. \ - receive_
message - Convenience wrapper that receives a message and converts it into
T. - receive_
request - Convenience wrapper that wraps
receive_messageforRequests - receive_
response - Convenience wrapper that wraps
receive_messageforResponses - send_
bytes - Send a Vec of bytes. This is part of the basic protocol beneath all communication. \
- send_
message - Convenience wrapper around send_bytes. Deserialize a message and feed the bytes into send_bytes.
- send_
request - Convenience wrapper around
send_messageto directly sendRequests. - send_
response - Convenience wrapper around
send_messageto directly sendResponses.