Module utils

Source
Expand description

Utilities used throughout testing and implementations that may be of use.

Functionsยง

collect_all_messages
Given a SplitStream receiver, receive messages until timing out and return all messages in a Vec<String>.
send_to_server
Send a single message to the server, and return the SplitStream receiver created by connecting to the server.