diff --git a/doc/api/quic.md b/doc/api/quic.md index a9dd003074..fafb11db23 100644 --- a/doc/api/quic.md +++ b/doc/api/quic.md @@ -1766,8 +1766,7 @@ or writable side has closed naturally. The callback is invoked with two arguments: * `code` {number} The QUIC application error code used to terminate the stream. -* `finalSize` {number} The total number of bytes received by the `QuicStream` - as of the moment the stream was closed. +* `family` {number} Identifier of the error code family. #### Event: `'close'` + +* Type: {BigInt} + +A `BigInt` specifying the total number of bytes successfully received by the +`QuicStream`. + #### quicstream.id