Function client::receive_message
source · pub(crate) fn receive_message(stream: &mut TcpStream) -> Message
Expand description
Receives a message from the server and parse it.
pub(crate) fn receive_message(stream: &mut TcpStream) -> Message
Receives a message from the server and parse it.