MCPcopy
hub / github.com/vercel/next.js / pipeThrough

Method pipeThrough

packages/next/src/server/render-result.ts:266–268  ·  view source on GitHub ↗

* Pipes the response through a transform stream. This converts the response * to a single readable stream (chaining if needed) and pipes it through the * provided transform. * * @param transform The transform stream to pipe through

(transform: TransformStream<Uint8Array, Uint8Array>)

Source from the content-addressed store, hash-verified

264 * @param transform The transform stream to pipe through
265 */
266 public pipeThrough(transform: TransformStream<Uint8Array, Uint8Array>): void {
267 this.response = this.readable.pipeThrough(transform)
268 }
269
270 /**
271 * Unshifts a new stream to the response. This will convert the response to an

Callers 12

constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
connectReactDebugChannelFunction · 0.80
chainTransformersFunction · 0.80
prependIsPartialByteFunction · 0.80
getGzipSizeFunction · 0.80
LFunction · 0.80
UFunction · 0.80
FFunction · 0.80
HFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected