koush / ion

Android Asynchronous Networking and Image Loading
Other
6.29k stars 1.03k forks source link

Event streaming - is there a way to implement or get the text at the "ProgressCallback"? #952

Open actor10 opened 3 years ago

actor10 commented 3 years ago

I need to leave the connection open and receive the updated text. This is playing chess on a website. They send activity on a stream. (I looked at with "curl" and it fires back json text for new moves.

One thought I have is if the "progress callback could get the text in addition to the # of bytes downloaded.