stream.onstopsending


  • 类型:quic.OnStreamErrorCallback

当对端通过发送 STOP_SENDING 帧中止流的某个方向(对端要求我们停止在可写端写入)时要调用的回调。

🌐 The callback to invoke when the peer aborts a direction of the stream by sending a STOP_SENDING frame (the peer asks us to stop writing on our writable side).

回调收到一个 Node.js 错误,它的 errorCode (bigint) 属性携带了来自数据帧的应用错误码。可读/可写。

🌐 The callback receives a Node.js error whose errorCode (bigint) property carries the application error code from the wire frame. Read/write.