Fix a mistake of streaming example.

This commit is contained in:
Chunting Gu
2019-08-09 17:35:45 +08:00
committed by GitHub
parent 8541ea4b16
commit 80caa91679
+1 -1
View File
@@ -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.