MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_resource_request_info Struct Reference

#include <runtime.h>

Data Fields

uint32_t size
mln_resource_request_fields fields
mln_buffer_view requested_url
mln_buffer_view resolved_url
mln_resource_kind kind
mln_resource_loading_method loading_method
mln_resource_priority priority
mln_resource_usage usage
mln_resource_storage_policy storage_policy
mln_resource_range range
int64_t prior_modified_unix_ms
int64_t prior_expires_unix_ms
mln_buffer_view prior_etag
const uint8_t * prior_data
size_t prior_data_size

Detailed Description

A request that a resource provider serves.

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

Field Documentation

◆ fields

mln_resource_request_fields mln_resource_request_info::fields

◆ kind

mln_resource_kind mln_resource_request_info::kind

◆ loading_method

mln_resource_loading_method mln_resource_request_info::loading_method

◆ prior_data

const uint8_t* mln_resource_request_info::prior_data

◆ prior_data_size

size_t mln_resource_request_info::prior_data_size

◆ prior_etag

mln_buffer_view mln_resource_request_info::prior_etag

Empty when the earlier copy has no ETag.

◆ prior_expires_unix_ms

int64_t mln_resource_request_info::prior_expires_unix_ms

◆ prior_modified_unix_ms

int64_t mln_resource_request_info::prior_modified_unix_ms

◆ priority

mln_resource_priority mln_resource_request_info::priority

◆ range

mln_resource_range mln_resource_request_info::range

The only bytes of the resource that the request wants.

◆ requested_url

mln_buffer_view mln_resource_request_info::requested_url

The URL as the style names it.

◆ resolved_url

mln_buffer_view mln_resource_request_info::resolved_url

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

◆ size

uint32_t mln_resource_request_info::size

◆ storage_policy

mln_resource_storage_policy mln_resource_request_info::storage_policy

◆ usage

mln_resource_usage mln_resource_request_info::usage

The documentation for this struct was generated from the following file: