@@ -769,7 +769,7 @@ added: v10.12.0
769769
770770* ` origins ` {string[ ] }
771771
772- The ` 'origin' ` event is emitted whenever an ` ORIGIN ` frame is received by
772+ The ` 'origin' ` event is emitted whenever an ` ORIGIN ` frame is received by
773773the client. The event is emitted with an array of ` origin ` strings. The
774774` http2session.originSet ` will be updated to include the received
775775origins.
@@ -1193,7 +1193,7 @@ added: v10.0.0
11931193
11941194Sends a trailing ` HEADERS ` frame to the connected HTTP/2 peer. This method
11951195will cause the ` Http2Stream ` to be immediately closed and must only be
1196- called after the ` 'wantTrailers' ` event has been emitted. When sending a
1196+ called after the ` 'wantTrailers' ` event has been emitted. When sending a
11971197request or sending a response, the ` options.waitForTrailers ` option must be set
11981198in order to keep the ` Http2Stream ` open after the final ` DATA ` frame so that
11991199trailers can be sent.
@@ -1729,7 +1729,7 @@ added: v8.4.0
17291729-->
17301730* ` callback ` {Function}
17311731
1732- Stops the server from accepting new connections. See [ ` net.Server.close() ` ] [ ] .
1732+ Stops the server from accepting new connections. See [ ` net.Server.close() ` ] [ ] .
17331733
17341734Note that this is not analogous to restricting new requests since HTTP/2
17351735connections are persistent. To achieve a similar graceful shutdown behavior,
@@ -1871,7 +1871,7 @@ added: v8.4.0
18711871-->
18721872* ` callback ` {Function}
18731873
1874- Stops the server from accepting new connections. See [ ` tls.Server.close() ` ] [ ] .
1874+ Stops the server from accepting new connections. See [ ` tls.Server.close() ` ] [ ] .
18751875
18761876Note that this is not analogous to restricting new requests since HTTP/2
18771877connections are persistent. To achieve a similar graceful shutdown behavior,
@@ -2531,7 +2531,7 @@ const server = http2.createServer({ settings });
25312531
25322532Once the client receives the ` SETTINGS ` frame from the server indicating that
25332533the extended CONNECT may be used, it may send ` CONNECT ` requests that use the
2534- ` ':protocol' ` HTTP/2 pseudo-header:
2534+ ` ':protocol' ` HTTP/2 pseudo-header:
25352535
25362536``` js
25372537const http2 = require (' http2' );
0 commit comments