Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.

Conversation

@sebdeckers
Copy link
Contributor

As per the HTTP/2 API documentation, the createPushResponse method should be exposed on the response object.

It takes the same arguments as Stream.pushStream. Not sure if that is the intention?

Fixes #46

@mcollina
Copy link
Member

Can you add a quick unit test for this? You can see an example in: https://github.com/nodejs/http2/blob/master/test/parallel/test-http2-create-client-session.js.

@sebdeckers
Copy link
Contributor Author

Closing this PR in favour of #47. I've added an end to end test case in 12e856b. Turned out a few other things in the event flow also needed fixing to really make push streams work correctly.

@sebdeckers sebdeckers closed this Mar 26, 2017
@sebdeckers sebdeckers deleted the createpushresponse branch May 16, 2017 04:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants