twitter/CocoaSPDY — pull request #59 by blakewatters (2014-09-11 04:32:09+00:00)
Title: Implement SPDY Push

This changeset introduces support for SPDY Push by utilizing a new delegate on `SPDYSession`. Closes #1

This is a focused subset of the larger changes that we have been maintaining in the @layerhq branch. This isolates the changes necessary to support SPDY Push.

Utilizing push requires registering a delegate for the `SPDYSessionManager` so that you can attach a delegate to each `SPDYSession` as it is dispatched by CocoaSPDY. You must also issue a hanging GET request so that the server has a SPDY stream that it can push responses back against. We’re using it successfully with an Erlang server utilizing the Cowboy server.