integrity

open val integrity: String?

Request: Integrity.

Provides a calculated integrity hash value which is expected to be found when calculating a similar value for any data returned from a Request cycle. The integrity value is expected to be well-formed, with a prefix that describes the algorithm used to calculate the hash.

By default, no value is specified in a request constructed server-side. If a DOM request which yields a fetch request has an integrity value specified, it is populated here.

From MDN: "The integrity read-only property of the Request interface contains the subresource integrity value of the request."

See also: MDN, Request.integrity.