diff --git a/doc/api/http2.md b/doc/api/http2.md index 81d1c8fa8e08e7..26ab8a461e07e1 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -952,6 +952,17 @@ added: v8.4.0 Set to `true` if the `Http2Stream` instance has been destroyed and is no longer usable. +#### http2stream.endAfterHeaders + + +* {boolean} + +Set the `true` if the `END_STREAM` flag was set in the request or response +HEADERS frame received, indicating that no additional data should be received +and the readable side of the `Http2Stream` will be closed. + #### http2stream.pending