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

Plack::Response to support streaming #80

Open
miyagawa opened this issue Jan 31, 2010 · 4 comments
Open

Plack::Response to support streaming #80

miyagawa opened this issue Jan 31, 2010 · 4 comments
Labels

Comments

@miyagawa
Copy link
Member

No description provided.

@mokko
Copy link

mokko commented Dec 30, 2010

Is this still on the todo list or does http://bulknews.typepad.com/blog/2009/10/psgiplack-streaming-is-now-complete.html mean that is done already? Thanks!

@miyagawa
Copy link
Member Author

I think you're confused.

Plack::Response doesn't natively support streaming response type but you could easily return sub from your app and pass ->finalize to the callback.

@mokko
Copy link

mokko commented Dec 30, 2010

I sure am confused! So, I don't need this to make some kind of streaming work. Not sure I understand how I return from my app to pass finalize in a callback. Will continue pondering over streaming examples from plack. Thanks for the quick answer!

@miyagawa
Copy link
Member Author

Look at echo-streaming(-sync).psgi and they don't use Plack::Response.

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

No branches or pull requests

2 participants