Interface ETagOptions

Options for eTag.

interface ETagOptions {
    algorithm?: AlgorithmIdentifier;
    weak?: boolean;
}

Properties

Properties

algorithm?: AlgorithmIdentifier

A digest algorithm to use to calculate the etag.

{"SHA-256"}
weak?: boolean

Override the default behavior of calculating the ETag, either forcing a tag to be labelled weak or not.

Defaults to true when the entity is a FileInfo and false otherwise.