1
0
mirror of synced 2025-04-23 09:45:32 +03:00
Thomas Tissot 82fc7d5591 Request cancelation feature
This commit modifies the signature of the `Progress` callback
so that its return value will indicate whether the request shall
continue to be processed by returning `true`, or if it shall
be aborted by returning `false`. Such modification will allow
one to cancel an ongoing request before it has completed.

When migrating, developers should modify there `Progress`
callbacks to always return `true` by default in case there
do not want to benefit from the cancelation feature.

A few unit tests use cases were provided, but anyone should feel
free to provide additional uses cases that they find relevant.
2018-08-06 11:54:52 +02:00
..
2012-09-26 21:35:49 -04:00
2017-12-29 22:34:59 -05:00
2018-08-06 11:54:52 +02:00
2013-07-04 18:18:52 -04:00