The 'push' event is emitted when response headers for a Server Push stream are received. The listener callback is passed the [HTTP/2 Headers Object][] and flags associated with the headers.

    1. stream.on('push', (headers, flags) => {
    2. console.log(headers);
    3. });