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

Router accepts a stream response from ViewEngine #368

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Router accepts a stream response from ViewEngine #368

wants to merge 2 commits into from

Conversation

georgethomasuk
Copy link

Support streaming responses from the server by allowing a custom ViewEngine to return a stream rather than an html string.

@georgethomasuk
Copy link
Author

Looks like this doesn't work in Node v0.8.x. As the stream API changed in v0.10 it seems reasonable to only support the streaming functionality in v0.10+.

I will modify it to work in an pre v0.10 environment.

@saponifi3d
Copy link
Contributor

Oooo this is a really cool change set! Thanks for submitting it (sorry i haven't had time to check into it yet). I'm releasing 1.0.2 right now, let me do that then i'll check out this PR a bit more. Thanks!

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.

None yet

2 participants