Shorten streaming example.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f1cc8cfb2d
commit
9bc1be8481
|
@ -76,8 +76,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
// Cancel the stream, …
|
||||
connection.cancel_stream();
|
||||
// … and get the rest of the data.
|
||||
cout << connection.get_new_stream_contents() << endl;
|
||||
// … and wait for the thread.
|
||||
stream_thread.join();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user