From 48b47ef209c52eb106bdec7a5ec5d1ba1166a093 Mon Sep 17 00:00:00 2001 From: yhirose Date: Mon, 6 Aug 2018 22:52:48 -0400 Subject: [PATCH] Updated README for cancelation feature --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1e8b4b1..2dc38fa 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,7 @@ std::shared_ptr res = printf("%lld / %lld bytes => %d%% complete\n", len, total, (int)((len/total)*100)); + return true; // return 'false' if you want to cancel the request. } ); ```