ladybird/Libraries/LibWeb/Compression/CompressionStream.idl
2024-11-17 22:37:45 +01:00

16 lines
385 B
Text

#import <Streams/GenericTransformStream.idl>
// https://compression.spec.whatwg.org/#enumdef-compressionformat
enum CompressionFormat {
"deflate",
"deflate-raw",
"gzip",
};
// https://compression.spec.whatwg.org/#compressionstream
[Exposed=*]
interface CompressionStream {
constructor(CompressionFormat format);
};
CompressionStream includes GenericTransformStream;