diff options
author | cjihrig <cjihrig@gmail.com> | 2019-06-21 14:07:20 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-06-24 13:36:25 -0400 |
commit | 6f5b5d1c4bd7decf68618955244ea6b49dba92f4 (patch) | |
tree | 1c5688b8afb8c5debd99eeb459f637e22a3071e3 /doc/api/http2.md | |
parent | c81062a908d00ae9ba62daa62e1a05798e93dcfb (diff) | |
download | android-node-v8-6f5b5d1c4bd7decf68618955244ea6b49dba92f4.tar.gz android-node-v8-6f5b5d1c4bd7decf68618955244ea6b49dba92f4.tar.bz2 android-node-v8-6f5b5d1c4bd7decf68618955244ea6b49dba92f4.zip |
doc: fix sentence about Http2Stream destruction
PR-URL: https://github.com/nodejs/node/pull/28336
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r-- | doc/api/http2.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index 58d9005846..40d1a3a234 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -913,7 +913,7 @@ All [`Http2Stream`][] instances are destroyed either when: * The `http2stream.destroy()` or `http2session.destroy()` methods are called. When an `Http2Stream` instance is destroyed, an attempt will be made to send an -`RST_STREAM` frame will be sent to the connected peer. +`RST_STREAM` frame to the connected peer. When the `Http2Stream` instance is destroyed, the `'close'` event will be emitted. Because `Http2Stream` is an instance of `stream.Duplex`, the |