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

Make it possible to return PSGI-style streaming response #1003

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

Conversation

asergei
Copy link
Contributor

@asergei asergei commented Mar 23, 2014

This is a proper version of my earlier pull-request with documentation and tests.

Example:

get '/streaming' => sub {
    # use my app infrastructure to make database lookups, session checks etc.
    # then return a streaming app
    return sub {
        my $respond = shift;
        my $writer = $respond->( ... );
    }
};

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

Successfully merging this pull request may close these issues.

1 participant