summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/http2.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index c4365f4e20..6f3b70be3a 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -913,8 +913,9 @@ the value is `undefined`, the stream is not yet ready for use.
All [`Http2Stream`][] instances are destroyed either when:
* An `RST_STREAM` frame for the stream is received by the connected peer,
- and pending data has been read.
-* The `http2stream.close()` method is called, and pending data has been read.
+ and (for client streams only) pending data has been read.
+* The `http2stream.close()` method is called, and (for client streams only)
+ pending data has been read.
* The `http2stream.destroy()` or `http2session.destroy()` methods are called.
When an `Http2Stream` instance is destroyed, an attempt will be made to send an