NARU API
    Preparing search index...

    Interface PackageResponseRequest

    interface PackageResponseRequest {
        allowedOrigins?: readonly string[];
        expected?: PackageResourceIdentity;
        fetch?: PackageFetch;
        kind: PackageResourceKind;
        label: string;
        range?: { byteLength: number; byteOffset: number };
        signal?: AbortSignal;
    }
    Index
    allowedOrigins?: readonly string[]

    Origins the URL may be on. Defaults to the URL's own, i.e. no check.

    The identity the package declares for this resource. Only a request that states one may be served from, or published to, a persistent tier: the tier verifies bytes against it before they are handed back.

    fetch?: PackageFetch

    Replaces the global fetch for this request.

    label: string

    Names the resource in every diagnostic this module raises.

    range?: { byteLength: number; byteOffset: number }

    Requests exactly this range; the caller validates the Content-Range.

    signal?: AbortSignal