@@ -94,7 +94,7 @@ At any given time, a `QuicSession` exists is one of four possible states:
9494* ` Ready ` - Entered as soon as the TLS 1.3 handshake completes. Once the
9595 ` QuicSession ` enters the ` Ready ` state, it may be used to exchange
9696 application data using ` QuicStream ` instances.
97- * ` Closed ` - Entere as soon as the ` QuicSession ` connection has been
97+ * ` Closed ` - Entered as soon as the ` QuicSession ` connection has been
9898 terminated.
9999
100100New instances of ` QuicClientSession ` are created using the ` connect() `
@@ -152,7 +152,7 @@ socket.on('session', (session) => {
152152```
153153
154154As with client ` QuicSession ` instances, the ` QuicServerSession ` cannot be
155- used to exhange application data until the ` 'secure' ` event has been emitted.
155+ used to exchange application data until the ` 'secure' ` event has been emitted.
156156
157157### QuicSession and ALPN
158158
@@ -197,7 +197,7 @@ peer opened the stream. A unidirectional stream can be written to only by the
197197QuicSession that opened it.
198198
199199The ` 'stream' ` event is emitted by the ` QuicSession ` when a new ` QuicStream `
200- has been initated by the connected peer:
200+ has been initiated by the connected peer:
201201
202202``` js
203203session .on (' stream' , (stream ) => {
@@ -403,7 +403,7 @@ added: REPLACEME
403403
404404* ` error ` {Object} An ` Error ` object.
405405
406- Closes and destroys the ` QuicEndpoint ` instance making it usuable .
406+ Closes and destroys the ` QuicEndpoint ` instance making it unusable .
407407
408408#### ` quicendpoint.destroyed `
409409<!-- YAML
@@ -712,7 +712,7 @@ added: REPLACEME
712712
713713* Type: {number}
714714
715- The number of retransmissions caused by delayed acknowledgements .
715+ The number of retransmissions caused by delayed acknowledgments .
716716
717717#### ` quicsession.address `
718718<!-- YAML
@@ -962,7 +962,7 @@ added: REPLACEME
962962
963963* Type: {number}
964964
965- The number of key update operations that have occured .
965+ The number of key update operations that have occurred .
966966
967967#### ` quicsession.latestRTT `
968968<!-- YAML
@@ -1078,7 +1078,7 @@ added: REPLACEME
10781078If ` qlog ` support is enabled for ` QuicSession ` , the ` quicsession.qlog ` property
10791079provides a [ ` stream.Readable ` ] [ ] that may be used to access the ` qlog ` event
10801080data according to the [ qlog standard] [ ] . For client ` QuicSessions ` , the
1081- ` quicsession.qlog ` property will be ` undefined ` untilt the ` 'qlog' ` event
1081+ ` quicsession.qlog ` property will be ` undefined ` until the ` 'qlog' ` event
10821082is emitted.
10831083
10841084#### ` quicsession.remoteAddress `
@@ -1441,7 +1441,7 @@ added: REPLACEME
14411441* Returns: {QuicEndpoint}
14421442
14431443Creates and adds a new ` QuicEndpoint ` to the ` QuicSocket ` instance. An
1444- error will be thrown if ` quicsock .addEndpoint()` is called either after
1444+ error will be thrown if ` quicsocket .addEndpoint()` is called either after
14451445the ` QuicSocket ` has already started binding to the local ports, or after
14461446the ` QuicSocket ` has been destroyed.
14471447
@@ -1474,7 +1474,7 @@ Will be `true` if the `QuicSocket` has been successfully bound to a local UDP
14741474port. Initially the value is ` false ` .
14751475
14761476` QuicSocket ` instances are not bound to a local UDP port until the first time
1477- eithe ` quicsocket.listen() ` or ` quicsocket.connect() ` is called. The ` 'ready' `
1477+ either ` quicsocket.listen() ` or ` quicsocket.connect() ` is called. The ` 'ready' `
14781478event will be emitted once the ` QuicSocket ` has been bound and the value of
14791479` quicsocket.bound ` will become ` true ` .
14801480
@@ -2146,7 +2146,7 @@ Read-only.
21462146added: REPLACEME
21472147-->
21482148
2149- * Returns: {Promise` }
2149+ * Returns: {Promise}
21502150
21512151Closes the ` QuicStream ` by ending both sides of the ` QuicStream ` ` Duplex ` .
21522152Returns a ` Promise ` that is resolved once the ` QuicStream ` has been destroyed.
@@ -2299,7 +2299,7 @@ added: REPLACEME
22992299 * ` length ` {number} The amount of data from the fd to send.
23002300 Default: ` -1 ` .
23012301
2302- Instead of using a ` Quicstream ` as a writable stream, send data from a given
2302+ Instead of using a ` QuicStream ` as a writable stream, send data from a given
23032303file descriptor.
23042304
23052305If ` offset ` is set to a non-negative number, reading starts from that position
@@ -2366,7 +2366,7 @@ added: REPLACEME
23662366
23672367* Type: {boolean}
23682368
2369- Will be ` true ` if the ` QuicStream ` is undirectional . Whether the ` QuicStream `
2369+ Will be ` true ` if the ` QuicStream ` is unidirectional . Whether the ` QuicStream `
23702370will be readable or writable depends on whether the ` quicstream.session ` is
23712371a ` QuicClientSession ` or ` QuicServerSession ` , and whether the ` QuicStream `
23722372was initiated locally or remotely.
0 commit comments