Optional
checktrue
to check only if the password is valid.
Optional
checktrue
to check the signature of the entry.
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.
Optional
commentThe encoding of the comment of the entry.
Optional
extracttrue
to extract the appended data into ZipReader#appendedData.
Optional
extracttrue
to extract the prepended data into ZipReader#prependedData.
Optional
filenameThe encoding of the filename of the entry.
Optional
forcetrue
to always use Range
headers when fetching data.
Optional
headersThe HTTP headers.
Optional
passtrue
to read the data as-is without decompressing it and without decrypting it.
Optional
passwordThe password used to decrypt the content of the entry.
Optional
preventtrue
to prevent closing of Writer#writable when calling Entry#getData.
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.
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.
Optional
usetrue
to use the native API CompressionStream
/DecompressionStream
to compress/decompress data.
Optional
usetrue
to use Range
headers when fetching data from servers returning Accept-Ranges
headers.
Optional
usetrue
to use web workers to compress/decompress data in non-blocking background processes.
Optional
useXHRtrue
to rely XMLHttpRequest
instead of fetch
to fetch data.
Represents the options passed to ZipDirectoryEntry#importHttpContent.