Open quazardous opened 6 years ago
Hi,
I love restler !
I want to know if it is possible to achieve streamed response in Restler ? like http://symfony.com/doc/master/components/http_foundation.html#streaming-a-response
in luracast you usually return static sets of data and luracast takes care of the final data format.
Is it possible to return a special object that say "I will be a dataset soon" (somewhat like a promise with a callback).
The use case could be wrapping request from a backend server that serve very long response and avoid memory leak/consumption keeping the full dataset.
Should be fairly straightforward with the upcoming version of Restler
See https://github.com/Arul-/reactive-restler/
Cool. What is the release status ?
Will be released this year!
Can't wait :/
Hi,
I love restler !
I want to know if it is possible to achieve streamed response in Restler ? like http://symfony.com/doc/master/components/http_foundation.html#streaming-a-response
in luracast you usually return static sets of data and luracast takes care of the final data format.
Is it possible to return a special object that say "I will be a dataset soon" (somewhat like a promise with a callback).
The use case could be wrapping request from a backend server that serve very long response and avoid memory leak/consumption keeping the full dataset.