* Tells the peer to stop sending data for 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)
| 2411 | * @param {number|bigint} code |
| 2412 | */ |
| 2413 | stopSending(code = 0n) { |
| 2414 | assertIsQuicStream(this); |
| 2415 | if (this.destroyed) return; |
| 2416 | this.#handle.stopSending(BigInt(code)); |
| 2417 | } |
| 2418 | |
| 2419 | /** |
| 2420 | * Tells the peer that this end will not send any more data on this stream. |
no outgoing calls
no test coverage detected