diff options
author | Daniel Mueller <deso@posteo.net> | 2017-04-08 18:23:25 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-04-08 18:23:25 -0700 |
commit | f1fe434d1487fad624b0574955c3af0cfd75e674 (patch) | |
tree | fb15bfc358f17bb018776ace476deafd15ea23e0 /cc/tests/test.rs | |
parent | f571751d203cfcf2456dc0d85b724cbab3d4075a (diff) | |
download | nitrocli-f1fe434d1487fad624b0574955c3af0cfd75e674.tar.gz nitrocli-f1fe434d1487fad624b0574955c3af0cfd75e674.tar.bz2 |
Introduce transmit function subsuming send and receive
The send a report, wait for some time, and receive a response pattern is
used in many places already and more are to come. In fact, no send
should ever happen without the wait for a response.
To that end, this change introduces a new 'transmit' function that
performs the exactly this task: send a report and return the response to
it.
Diffstat (limited to 'cc/tests/test.rs')
0 files changed, 0 insertions, 0 deletions