<p>Enqueues the given PUSH_PROMISE frame to be written to the connection.</p>
<p>Differently from {@link #frames(StreamSPI, Callback, Frame, Frame...)}, this method
generates atomically the stream id for the pushed stream.</p>
@param stream the stream associated to the pushed stream
@param promise the promise that gets notified of the pushed stream creation
@param frame the PUSH_PROMISE frame to enqueue
@param listener the listener that gets notified of pushed stream events
<p>Enqueues the given PUSH_PROMISE frame to be written to the connection.</p> <p>Differently from {@link #frames(StreamSPI, Callback, Frame, Frame...)}, this method generates atomically the stream id for the pushed stream.</p>
@param stream the stream associated to the pushed stream @param promise the promise that gets notified of the pushed stream creation @param frame the PUSH_PROMISE frame to enqueue @param listener the listener that gets notified of pushed stream events