Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamed response #599

Open
quazardous opened this issue Jun 2, 2018 · 4 comments
Open

Streamed response #599

quazardous opened this issue Jun 2, 2018 · 4 comments

Comments

@quazardous
Copy link

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.

@Arul-
Copy link
Member

Arul- commented Jun 2, 2018

Should be fairly straightforward with the upcoming version of Restler

See https://github.com/Arul-/reactive-restler/

@quazardous
Copy link
Author

Cool. What is the release status ?

@Arul-
Copy link
Member

Arul- commented Jun 3, 2018

Will be released this year!

@quazardous
Copy link
Author

Can't wait :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants