Skip to content

Commit abfafaa

Browse files
doc: correct spelling in http2.md
1 parent 4117e22 commit abfafaa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/api/http2.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ the handler function will receive three arguments:
191191
added: v8.4.0
192192
-->
193193

194-
The `'localSettings'` event is emitted when an acknowledgement SETTINGS frame
194+
The `'localSettings'` event is emitted when an acknowledgment SETTINGS frame
195195
has been received. When invoked, the handler function will receive a copy of
196196
the local settings.
197197

@@ -327,7 +327,7 @@ Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`
327327
is not undefined, an `'error'` event will be emitted immediately after the
328328
`'close'` event.
329329

330-
If there are any remaining open `Http2Streams` associatd with the
330+
If there are any remaining open `Http2Streams` associated with the
331331
`Http2Session`, those will also be destroyed.
332332

333333
#### http2session.destroyed
@@ -371,7 +371,7 @@ added: v8.4.0
371371
* Value: {boolean}
372372

373373
Indicates whether or not the `Http2Session` is currently waiting for an
374-
acknowledgement for a sent SETTINGS frame. Will be `true` after calling the
374+
acknowledgment for a sent SETTINGS frame. Will be `true` after calling the
375375
`http2session.settings()` method. Will be `false` once all sent SETTINGS
376376
frames have been acknowledged.
377377

@@ -393,12 +393,12 @@ The maximum number of outstanding (unacknowledged) pings is determined by the
393393

394394
If provided, the `payload` must be a `Buffer`, `TypedArray`, or `DataView`
395395
containing 8 bytes of data that will be transmitted with the `PING` and
396-
returned with the ping acknowledgement.
396+
returned with the ping acknowledgment.
397397

398398
The callback will be invoked with three arguments: an error argument that will
399399
be `null` if the `PING` was successfully acknowledged, a `duration` argument
400400
that reports the number of milliseconds elapsed since the ping was sent and the
401-
acknowledgement was received, and a `Buffer` containing the 8-byte `PING`
401+
acknowledgment was received, and a `Buffer` containing the 8-byte `PING`
402402
payload.
403403

404404
```js
@@ -534,8 +534,8 @@ while the session is waiting for the remote peer to acknowledge the new
534534
settings.
535535

536536
*Note*: The new settings will not become effective until the SETTINGS
537-
acknowledgement is received and the `'localSettings'` event is emitted. It
538-
is possible to send multiple SETTINGS frames while acknowledgement is still
537+
acknowledgment is received and the `'localSettings'` event is emitted. It
538+
is possible to send multiple SETTINGS frames while acknowledgment is still
539539
pending.
540540

541541
#### http2session.type
@@ -746,7 +746,7 @@ added: v8.4.0
746746
-->
747747

748748
The `'timeout'` event is emitted after no activity is received for this
749-
`'Http2Stream'` within the number of millseconds set using
749+
`'Http2Stream'` within the number of milliseconds set using
750750
`http2stream.setTimeout()`.
751751

752752
#### Event: 'trailers'

0 commit comments

Comments
 (0)