File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -832,6 +832,16 @@ added: v23.8.0
832832
833833The session that created this stream. Read only.
834834
835+ ### ` stream.setOutbound(outbound) `
836+
837+ <!-- YAML
838+ added: REPLACEME
839+ -->
840+
841+ * ` outbound ` {ArrayBuffer|SharedArrayBuffer|ArrayBufferView|Blob|ReadableStream}
842+
843+ Set the outbound datasource.
844+
835845### ` stream.stats `
836846
837847<!-- YAML
Original file line number Diff line number Diff line change @@ -839,10 +839,10 @@ class QuicStream {
839839 /**
840840 * Sets the outbound data source for the stream. This can only be called
841841 * once and must be called before any data will be sent. The body can be
842- * an ArrayBuffer, a TypedArray or DataView, or a Blob. If the stream
843- * is destroyed or already has an outbound data source, an error will
844- * be thrown.
845- * @param {ArrayBuffer|SharedArrayBuffer|ArrayBufferView|Blob } outbound
842+ * an ArrayBuffer, a TypedArray or DataView, or a Blob, a ReadableStream.
843+ * If the stream is destroyed or already has an outbound data source,
844+ * an error will be thrown.
845+ * @param {ArrayBuffer|SharedArrayBuffer|ArrayBufferView|Blob|ReadableStream } outbound
846846 */
847847 setOutbound ( outbound ) {
848848 QuicStream . #assertIsQuicStream( this ) ;
You can’t perform that action at this time.
0 commit comments