SPDY Push helper for Koa.
close events and errors to avoid leaks.
var push =threshold: 1kbapp
Pushes a file in a separate coroutine. Options:
path- The url of the stream
headers- Headers of the stream
priority: 7- SPDY Push stream priority, defaults to lowest
body- a body of the stream, either a
filename- a filename of a body. Use this to push bodies without creating a stream first (otherwise you'll create file descriptor leaks)
filename is required.
Don't set the following headers. These headers will be automatically set: