CompressionStream: writable-Eigenschaft

Baseline 2023
Newly available

Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Hinweis: Diese Funktion ist in Web Workers verfügbar.

Die writable schreibgeschützte Eigenschaft der CompressionStream-Schnittstelle gibt einen WritableStream zurück.

Wert

Beispiele

Das folgende Beispiel gibt einen WritableStream von einem CompressionStream zurück.

js
let stream = new CompressionStream("gzip");
console.log(stream.writable); // A WritableStream

Spezifikationen

Specification
Streams
# dom-generictransformstream-writable

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
writable

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support