@maplibre/native-ffi
    Preparing search index...

    Interface ResourceRequestInfo

    A request that a resource provider serves.

    When the cache holds an earlier copy of the resource, the prior_ fields describe it.

    See mln_resource_request_info in the C API reference.

    interface ResourceRequestInfo {
        kind: ResourceKind;
        loadingMethod: ResourceLoadingMethod;
        priorData: Uint8Array;
        priorEtag: string;
        priorExpiresUnixMs?: bigint;
        priority: ResourcePriority;
        priorModifiedUnixMs?: bigint;
        range?: ResourceRange;
        requestedUrl: string;
        resolvedUrl: string;
        storagePolicy: ResourceStoragePolicy;
        usage: ResourceUsage;
    }
    Index
    loadingMethod: ResourceLoadingMethod
    priorData: Uint8Array
    priorEtag: string

    Empty when the earlier copy has no ETag.

    priorExpiresUnixMs?: bigint
    priorModifiedUnixMs?: bigint

    The only bytes of the resource that the request wants.

    requestedUrl: string

    The URL as the style names it.

    resolvedUrl: string

    The URL to load, after the library expands any shorthand in requested_url and before any resource transform. Routes match this URL.

    storagePolicy: ResourceStoragePolicy