diff --git a/doc/api/quic.md b/doc/api/quic.md index f23819548af5ee..af6883f61d2f49 100644 --- a/doc/api/quic.md +++ b/doc/api/quic.md @@ -480,20 +480,24 @@ added: REPLACEME * {quic.OnHandshakeCallback} -### `session.openBidirectionalStream()` +### `session.openBidirectionalStream([options])` +* `options` {Object} + * `headers` {Object} * Returns: {quic.QuicStream} -### `session.openUnidirectionalStream()` +### `session.openUnidirectionalStream([options])` +* `options` {Object} + * `headers` {Object * Returns: {quic.QuicStream} ### `session.path` @@ -1008,15 +1012,15 @@ added: REPLACEME added: REPLACEME --> -### `streamState.id` +### `streamState.destroyed` -* {bigint} +* {boolean} -### `streamState.finSent` +### `streamState.finReceived` -* {boolean} +* {bigint} -### `streamState.destroyed` +### `streamState.paused` -### `streamStats.isConnected` +* {boolean} + +## Class: `QuicStreamStats` -* {bigint} - -### `streamStats.createdAt` +### `streamStats.ackedAt` + +* {bigint} + +### `streamStats.receivedAt`