summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 461b0018a5..abf6983e9a 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -125,7 +125,7 @@ Every `Http2Session` instance is associated with exactly one [`net.Socket`][] or
[`tls.TLSSocket`][] when it is created. When either the `Socket` or the
`Http2Session` are destroyed, both will be destroyed.
-Because the of the specific serialization and processing requirements imposed
+Because of the specific serialization and processing requirements imposed
by the HTTP/2 protocol, it is not recommended for user code to read data from
or write data to a `Socket` instance bound to a `Http2Session`. Doing so can
put the HTTP/2 session into an indeterminate state causing the session and
@@ -1132,7 +1132,7 @@ added: v9.5.0
* {HTTP/2 Headers Object}
-An object containing the outbound trailers sent for this this `HttpStream`.
+An object containing the outbound trailers sent for this `HttpStream`.
#### http2stream.session
<!-- YAML