Get progress of downloading file

Hi,
I am working with a custom service to transfer a memoryStream from server to client, need get update of how many bytes of total downloaded.
On cocoa I am good with
func asyncRequest(_ request: ROAsyncRequest!, didReceiveDataSize size: Int32, ofExpected totalSize: Int32) with ROAsyncRequestDelegate
but in Delphi version I don’t know how to make it work,
what’s the best way I can get the data transfer progress?

Thanks…

Hi,

in Delphi you can use channel.OnProgress event.

Note: not all channels are supported, for example TRONetHttpClientChannel doesn’t have internal events that we can use for getting this information and calling OnProgress event

Noted! Thank you very much…