Fix a mistake of streaming example.

master
Chunting Gu 6 years ago committed by GitHub
parent 8541ea4b16
commit 80caa91679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -160,7 +160,7 @@ auto r = session.Request(webcc::RequestBuilder{}.
true); // !!!
// Move the streamed file to your destination.
file_body->Move("./wolf.jpeg");
r->file_body()->Move("./wolf.jpeg");
```
Please check the [examples](https://github.com/sprinfall/webcc/tree/master/examples/) for more information.

Loading…
Cancel
Save