* Tells the peer that this end will not send any more data on this stream. * The optional error code will be sent to the peer as part of the * request. If the stream is already destroyed, this is a no-op. No * acknowledgement of this action will be provided. * @param {number|bigint} code
(code = 0n)
| 2424 | * @param {number|bigint} code |
| 2425 | */ |
| 2426 | resetStream(code = 0n) { |
| 2427 | assertIsQuicStream(this); |
| 2428 | if (this.destroyed) return; |
| 2429 | this.#handle.resetStream(BigInt(code)); |
| 2430 | } |
| 2431 | |
| 2432 | /** |
| 2433 | * The priority of the stream. If the stream is destroyed or if |
no outgoing calls
no test coverage detected