Skip to content

CompressionStream

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2969

The CompressionStream interface of the Compression Streams API is an API for compressing a stream of data.

MDN Reference

new CompressionStream(format): CompressionStream

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2973

"gzip" | "deflate" | "deflate-raw"

CompressionStream

TransformStream.constructor

readonly readable: ReadableStream<Uint8Array<ArrayBufferLike>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2938

The readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.

MDN Reference

TransformStream.readable


readonly writable: WritableStream<ArrayBuffer | ArrayBufferView<ArrayBufferLike>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2944

The writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.

MDN Reference

TransformStream.writable