CompressionStream

E856195

CompressionStream is a web API interface that provides a streaming way to compress data using algorithms like gzip or deflate within browser-based applications.

All labels observed (1)

Label Occurrences
CompressionStream canonical 2

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf Web API interface
browser API
compression stream interface
accessibleFrom JavaScript
availableIn WindowOrWorkerGlobalScope
canBePipedWith pipeThrough
pipeTo
cannot decompress data
category client-side compression
compressionDirection encode only
constructorSignature new CompressionStream(format)
dataModel chunk-based streaming
definedIn WHATWG Streams Standard
environment Web Workers
linked to: Web workers

main thread
errorHandling throws TypeError for unsupported format
formatAllowedValue "deflate"
"deflate-raw"
"gzip"
formatType DOMString
hasProperty readable
writable
introducedFor streaming compression in web applications
maintainedBy WHATWG
nonBlocking true
parameter format
partOf Streams API
Web Platform APIs
linked to: Web APIs
readableInstanceOf ReadableStream
relatedInterface DecompressionStream
ReadableStream
WritableStream
requires supporting browser implementation
returns CompressionStream instance
securityContext secure context recommended
specStatus living standard
supportsAlgorithm deflate
deflate-raw
gzip
supportsStreaming true
typicalUsage new CompressionStream('gzip')
usedFor client-side asset compression
compressing binary data
compressing text data
processing large data streams incrementally
streaming HTTP response compression
writableInstanceOf WritableStream

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

TransformStream oftenUsedWith CompressionStream
DecompressionStream relatedInterface CompressionStream