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

    Interface ResourceResponse

    A resource provider's answer to one request.

    See mln_resource_response in the C API reference.

    interface ResourceResponse {
        bytes?: Uint8Array<ArrayBufferLike>;
        errorMessage?: string;
        errorReason?: ResourceErrorReason;
        etag?: string;
        expiresUnixMs?: bigint;
        modifiedUnixMs?: bigint;
        mustRevalidate?: boolean;
        retryAfterUnixMs?: bigint;
        status?: ResourceResponseStatus;
    }
    Index
    bytes?: Uint8Array<ArrayBufferLike>

    Response bytes. May be null only when byte_count is 0.

    errorMessage?: string
    errorReason?: ResourceErrorReason
    etag?: string
    expiresUnixMs?: bigint
    modifiedUnixMs?: bigint
    mustRevalidate?: boolean
    retryAfterUnixMs?: bigint