From 80caa916798f0a05f7ae1405f9b0020cdc90116a Mon Sep 17 00:00:00 2001 From: Chunting Gu Date: Fri, 9 Aug 2019 17:35:45 +0800 Subject: [PATCH] Fix a mistake of streaming example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3d0ec8..e9a09a6 100644 --- a/README.md +++ b/README.md @@ -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.