GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — quic: remove obsolete setOutbound() · nodejs/node@066e03d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib/internal/quic
    • quic.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/internal/quic/quic.js‎

Copy file name to clipboardExpand all lines: lib/internal/quic/quic.js
-19Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2139,25 +2139,6 @@ class QuicStream {
21392139
this[kFinishClose](error); // A no-op, unless destroy() failed
21402140
}
21412141

2142-
/**
2143-
* Sets the outbound data source for the stream. This can only be called
2144-
* once and must be called before any data will be sent. The body can be
2145-
* an ArrayBuffer, a TypedArray or DataView, or a Blob. If the stream
2146-
* is destroyed or already has an outbound data source, an error will
2147-
* be thrown.
2148-
* @param {ArrayBuffer|SharedArrayBuffer|ArrayBufferView|Blob} outbound
2149-
*/
2150-
setOutbound(outbound) {
2151-
assertIsQuicStream(this);
2152-
if (this.destroyed) {
2153-
throw new ERR_INVALID_STATE('Stream is destroyed');
2154-
}
2155-
if (this.#inner.state.hasOutbound) {
2156-
throw new ERR_INVALID_STATE('Stream already has an outbound data source');
2157-
}
2158-
this.#handle.attachSource(validateBody(outbound));
2159-
}
2160-
21612142
/**
21622143
* @param {object} headers
21632144
* @param {SendHeadersOptions} [options]

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.