A SPDY Push helper to be used with spdy.
closeevents and file descriptor leaks
content-typeheaders if it can
var spdy = ;
pathis the path of the object being pushed. Can also be set as
priorityis the priority between
0-7of the push stream with
7, the default, being the lowest priority. Can also be set as
filename- a path to a file. Resolves against CWD.
options.filename must be set.
You do not need to set the following headers:
Waits until the acknowledge event.
Waits until the entire stream has been flushed.