To receive pushed streams on the client, set a listener for the 'stream'
event on the ClientHttp2Session:
const http2 = require('http2');const client = http2.connect('http://localhost');client.on('stream', (pushedStream, requestHeaders) => {pushedStream.on('push', (responseHeaders) => {// Process response headers});pushedStream.on('data', (chunk) => { /* handle pushed data */ });});const req = client.request({ ':path': '/' });
