@@ -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
@@ -569,8 +569,8 @@ while the session is waiting for the remote peer to acknowledge the new
569
569
settings.
570
570
571
571
* Note* : The new settings will not become effective until the SETTINGS
572
- acknowledgement is received and the ` 'localSettings' ` event is emitted. It
573
- is possible to send multiple SETTINGS frames while acknowledgement is still
572
+ acknowledgment is received and the ` 'localSettings' ` event is emitted. It
573
+ is possible to send multiple SETTINGS frames while acknowledgment is still
574
574
pending.
575
575
576
576
#### http2session.type
@@ -873,7 +873,7 @@ added: v8.4.0
873
873
-->
874
874
875
875
The ` 'timeout' ` event is emitted after no activity is received for this
876
- ` 'Http2Stream' ` within the number of millseconds set using
876
+ ` 'Http2Stream' ` within the number of milliseconds set using
877
877
` http2stream.setTimeout() ` .
878
878
879
879
#### Event: 'trailers'
0 commit comments