@@ -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
@@ -339,7 +339,7 @@ Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`
339
339
is not undefined, an ` 'error' ` event will be emitted immediately after the
340
340
` 'close' ` event.
341
341
342
- If there are any remaining open ` Http2Streams ` associatd with the
342
+ If there are any remaining open ` Http2Streams ` associated with the
343
343
` Http2Session ` , those will also be destroyed.
344
344
345
345
#### http2session.destroyed
@@ -406,7 +406,7 @@ added: v8.4.0
406
406
* Value: {boolean}
407
407
408
408
Indicates whether or not the ` Http2Session ` is currently waiting for an
409
- acknowledgement for a sent SETTINGS frame. Will be ` true ` after calling the
409
+ acknowledgment for a sent SETTINGS frame. Will be ` true ` after calling the
410
410
` http2session.settings() ` method. Will be ` false ` once all sent SETTINGS
411
411
frames have been acknowledged.
412
412
@@ -428,12 +428,12 @@ The maximum number of outstanding (unacknowledged) pings is determined by the
428
428
429
429
If provided, the ` payload ` must be a ` Buffer ` , ` TypedArray ` , or ` DataView `
430
430
containing 8 bytes of data that will be transmitted with the ` PING ` and
431
- returned with the ping acknowledgement .
431
+ returned with the ping acknowledgment .
432
432
433
433
The callback will be invoked with three arguments: an error argument that will
434
434
be ` null ` if the ` PING ` was successfully acknowledged, a ` duration ` argument
435
435
that reports the number of milliseconds elapsed since the ping was sent and the
436
- acknowledgement was received, and a ` Buffer ` containing the 8-byte ` PING `
436
+ acknowledgment was received, and a ` Buffer ` containing the 8-byte ` PING `
437
437
payload.
438
438
439
439
``` js
@@ -581,8 +581,8 @@ while the session is waiting for the remote peer to acknowledge the new
581
581
settings.
582
582
583
583
* Note* : The new settings will not become effective until the SETTINGS
584
- acknowledgement is received and the ` 'localSettings' ` event is emitted. It
585
- is possible to send multiple SETTINGS frames while acknowledgement is still
584
+ acknowledgment is received and the ` 'localSettings' ` event is emitted. It
585
+ is possible to send multiple SETTINGS frames while acknowledgment is still
586
586
pending.
587
587
588
588
#### http2session.type
@@ -885,7 +885,7 @@ added: v8.4.0
885
885
-->
886
886
887
887
The ` 'timeout' ` event is emitted after no activity is received for this
888
- ` 'Http2Stream' ` within the number of millseconds set using
888
+ ` 'Http2Stream' ` within the number of milliseconds set using
889
889
` http2stream.setTimeout() ` .
890
890
891
891
#### Event: 'trailers'
0 commit comments