Files
node/lib
James M Snell 237aa7e9ae http2: refactor how trailers are done
Rather than an option, introduce a method and an event...

```js
server.on('stream', (stream) => {
  stream.respond(undefined, { waitForTrailers: true });
  stream.on('wantTrailers', () => {
    stream.sendTrailers({ abc: 'xyz'});
  });
  stream.end('hello world');
});
```

This is a breaking change in the API such that the prior
`options.getTrailers` is no longer supported at all.
Ordinarily this would be semver-major and require a
deprecation but the http2 stuff is still experimental.

PR-URL: https://github.com/nodejs/node/pull/19959
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-04-16 09:53:32 -07:00
..
2018-04-13 19:59:44 +02:00
2018-03-05 19:51:30 +01:00
2018-04-05 04:46:26 +08:00
2018-04-14 10:55:35 -07:00
2018-04-16 14:23:11 +02:00
2017-08-28 00:39:42 +04:00
2018-04-05 04:46:26 +08:00
2018-04-03 13:57:41 -07:00
2016-10-04 12:17:32 -04:00
2018-03-05 19:51:30 +01:00
2018-03-15 20:50:35 +08:00
2018-04-16 16:02:12 +02:00
2017-03-10 11:23:48 -08:00
2018-04-05 04:46:26 +08:00
2018-04-16 17:09:58 +02:00
2018-04-03 17:59:22 +02:00