|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <runtime.h>
A request that a resource provider serves.
When the cache holds an earlier copy of the resource, the prior_ fields describe it.
| mln_resource_request_fields mln_resource_request_info::fields |
| mln_resource_kind mln_resource_request_info::kind |
| mln_resource_loading_method mln_resource_request_info::loading_method |
| const uint8_t* mln_resource_request_info::prior_data |
| size_t mln_resource_request_info::prior_data_size |
| mln_buffer_view mln_resource_request_info::prior_etag |
Empty when the earlier copy has no ETag.
| int64_t mln_resource_request_info::prior_expires_unix_ms |
| int64_t mln_resource_request_info::prior_modified_unix_ms |
| mln_resource_priority mln_resource_request_info::priority |
| mln_resource_range mln_resource_request_info::range |
The only bytes of the resource that the request wants.
| mln_buffer_view mln_resource_request_info::requested_url |
The URL as the style names it.
| 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.
| uint32_t mln_resource_request_info::size |
| mln_resource_storage_policy mln_resource_request_info::storage_policy |
| mln_resource_usage mln_resource_request_info::usage |