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.
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
Web API interface
ⓘ
browser API ⓘ compression stream interface ⓘ |
| accessibleFrom | JavaScript NERFINISHED ⓘ |
| 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 NERFINISHED ⓘ |
| environment |
Web Workers
NERFINISHED
ⓘ
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 NERFINISHED ⓘ |
| nonBlocking | true ⓘ |
| parameter | format ⓘ |
| partOf |
Streams API
NERFINISHED
ⓘ
Web Platform APIs NERFINISHED ⓘ |
| readableInstanceOf | ReadableStream ⓘ |
| relatedInterface |
DecompressionStream
NERFINISHED
ⓘ
ReadableStream NERFINISHED ⓘ WritableStream NERFINISHED ⓘ |
| 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 ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.