You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very useful to enhance TRESTRequest (or provide an extension) to support progress tracking for stream-based requests (especially downloads), with an optional cancel mechanism.
🚀 Motivation
When handling large file downloads (or uploads), providing real-time feedback to the user is important for usability. Additionally, the ability to cancel a long-running request is essential in modern applications, especially when dealing with limited bandwidth or mobile users.
✅ Expected Features
Event or callback for progress reporting during Stream downloads or uploads (e.g., OnProgress, OnDownloadProgress)
Ability to cancel the request gracefully from within the event (e.g., via a Cancel flag or method)
Optional integration with TTask, TThread, or another async approach to ensure non-blocking UI
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
📝 Description
It would be very useful to enhance
TRESTRequest
(or provide an extension) to support progress tracking for stream-based requests (especially downloads), with an optional cancel mechanism.🚀 Motivation
When handling large file downloads (or uploads), providing real-time feedback to the user is important for usability. Additionally, the ability to cancel a long-running request is essential in modern applications, especially when dealing with limited bandwidth or mobile users.
✅ Expected Features
Stream
downloads or uploads(e.g.,
OnProgress
,OnDownloadProgress
)(e.g., via a
Cancel
flag or method)TTask
,TThread
, or another async approach to ensure non-blocking UI💡 Simple example Use Case (Delphi)
Beta Was this translation helpful? Give feedback.
All reactions