Optional
checktrue
to check the signature of the entry.
false
Optional
combinetrue
to use Range: bytes=-22
on the first request and cache the EOCD, make sure beforehand that the server supports a suffix range request.
false
Optional
commentThe encoding of the comment of the entry.
Optional
extracttrue
to extract the appended data into ZipReader#appendedData.
false
Optional
extracttrue
to extract the prepended data into ZipReader#prependedData.
false
Optional
filenameThe encoding of the filename of the entry.
Optional
forcetrue
to always use Range
headers when fetching data.
false
Optional
headersThe HTTP headers.
Optional
passwordThe password used to decrypt the content of the entry.
Optional
preventtrue
to prevent closing of Writer#writable when calling Entry#getData.
false
Optional
preventtrue
to prevent using HEAD
HTTP request in order the get the size of the content.
false
to explicitly use HEAD
, this is useful in case of CORS where Access-Control-Expose-Headers: Content-Range
is not returned by the server.
false
Optional
rawThe password used to encrypt the content of the entry (raw).
Optional
signalThe AbortSignal
instance used to cancel the decompression.
Optional
transfertrue
to transfer streams to web workers when decompressing data.
true
Optional
usetrue
to use the native API CompressionStream
/DecompressionStream
to compress/decompress data.
true
Optional
usetrue
to use Range
headers when fetching data from servers returning Accept-Ranges
headers.
false
Optional
usetrue
to use web workers to compress/decompress data in non-blocking background processes.
true
Optional
useXHRtrue
to rely XMLHttpRequest
instead of fetch
to fetch data.
false
Optional
decode
Represents the options passed to ZipDirectoryEntry#importHttpContent.