mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Updated README for cancelation feature
This commit is contained in:
parent
f4981459b3
commit
48b47ef209
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
}
|
||||
);
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue