summaryrefslogtreecommitdiff
path: root/cc/tests/test.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-04-08 18:23:25 -0700
committerDaniel Mueller <deso@posteo.net>2017-04-08 18:23:25 -0700
commitf1fe434d1487fad624b0574955c3af0cfd75e674 (patch)
treefb15bfc358f17bb018776ace476deafd15ea23e0 /cc/tests/test.rs
parentf571751d203cfcf2456dc0d85b724cbab3d4075a (diff)
downloadnitrocli-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