@@ -191,7 +191,7 @@ the handler function will receive three arguments:
191
191
added: v8.4.0
192
192
-->
193
193
194
- The ` 'localSettings' ` event is emitted when an acknowledgement SETTINGS frame
194
+ The ` 'localSettings' ` event is emitted when an acknowledgment SETTINGS frame
195
195
has been received. When invoked, the handler function will receive a copy of
196
196
the local settings.
197
197
@@ -327,7 +327,7 @@ Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`
327
327
is not undefined, an ` 'error' ` event will be emitted immediately after the
328
328
` 'close' ` event.
329
329
330
- If there are any remaining open ` Http2Streams ` associatd with the
330
+ If there are any remaining open ` Http2Streams ` associated with the
331
331
` Http2Session ` , those will also be destroyed.
332
332
333
333
#### http2session.destroyed
@@ -371,7 +371,7 @@ added: v8.4.0
371
371
* Value: {boolean}
372
372
373
373
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
375
375
` http2session.settings() ` method. Will be ` false ` once all sent SETTINGS
376
376
frames have been acknowledged.
377
377
@@ -393,12 +393,12 @@ The maximum number of outstanding (unacknowledged) pings is determined by the
393
393
394
394
If provided, the ` payload ` must be a ` Buffer ` , ` TypedArray ` , or ` DataView `
395
395
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 .
397
397
398
398
The callback will be invoked with three arguments: an error argument that will
399
399
be ` null ` if the ` PING ` was successfully acknowledged, a ` duration ` argument
400
400
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 `
402
402
payload.
403
403
404
404
``` js
@@ -534,8 +534,8 @@ while the session is waiting for the remote peer to acknowledge the new
534
534
settings.
535
535
536
536
* 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
539
539
pending.
540
540
541
541
#### http2session.type
@@ -746,7 +746,7 @@ added: v8.4.0
746
746
-->
747
747
748
748
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
750
750
` http2stream.setTimeout() ` .
751
751
752
752
#### Event: 'trailers'
0 commit comments