Retrofit - OkHttp 3 - Multipage Download Process

Is it possible to get the actual file upload progress using Retrofit 2 and OkHttp 3?

I am testing this solution: https://stackoverflow.com/a/212618/2126/ but it doesn't work as you might expect. I get 100% progress after a couple of tens of milliseconds, but the download should take more than 10 seconds (3 MB file with a 1 megabyte connection). I assume there is some kind of buffer before the actual HTTP call.

How to solve this?

+4
source share

All Articles