I send chunked data
with Play Scala 2.2
to the client side like this : Ok.chunked(data)
I would like to use them as soon as they are available on the client side. If I just get the data and print them on .success
, they are printed at the same time i.e. when the last data is received.
How can I print them as soon as they are received? Must I use websockets
?