headers
{HTTP/2 Headers Object} An object describing the headerscallback
{Function} Called oncehttp2stream.pushStream()
is finished, or either when the attempt to create the pushedHttp2Stream
has failed or has been rejected, or the state ofHttp2ServerRequest
is closed prior to calling thehttp2stream.pushStream()
methoderr
{Error}stream
{ServerHttp2Stream} The newly-createdServerHttp2Stream
object
Call [http2stream.pushStream()
][] with the given headers, and wrap the
given [Http2Stream
][] on a newly created Http2ServerResponse
as the callback
parameter if successful. When Http2ServerRequest
is closed, the callback is
called with an error ERR_HTTP2_INVALID_STREAM
.