1
0
mirror of synced 2025-07-25 01:22:03 +03:00

Updated README for cancelation feature

This commit is contained in:
yhirose
2018-08-06 22:52:48 -04:00
parent f4981459b3
commit 48b47ef209

View File

@ -166,6 +166,7 @@ std::shared_ptr<httplib::Response> 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.
}
);
```