Skip to main content

Interface: FileIdentity

Defined in: types.ts:61

One file as the reader sees it: its URL plus the request parameters it is read with. A merged request carries exactly one set of headers, so reads of one identity may share a request, an in-flight stream and a cache span, and reads of different identities never do. Build one with fileIdentity and keep it for the file's lifetime.

Properties​

init?​

readonly optional init?: RequestInit

Defined in: types.ts:64

Headers, credentials and mode sent with every request for this file.


key​

readonly key: FileKey

Defined in: types.ts:66

Precomputed once, so every read's map lookups skip the signature.


url​

readonly url: URL

Defined in: types.ts:62