Struct

MaplibreNativeFfiResourceRequestInfo

Description [src]

struct MaplibreNativeFfiResourceRequestInfo {
  /* No available fields */
}

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.

Constructors

maplibre_native_ffi_resource_request_info_new

Creates a MaplibreNativeFfiResourceRequestInfo whose members are zero or empty.

Instance methods

maplibre_native_ffi_resource_request_info_get_prior_etag

Empty when the earlier copy has no ETag.

maplibre_native_ffi_resource_request_info_get_range

The only bytes of the resource that the request wants.

maplibre_native_ffi_resource_request_info_get_resolved_url

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

maplibre_native_ffi_resource_request_info_has_prior_expires_unix_ms

Whether the value has maplibre_native_ffi_resource_request_info_get_prior_expires_unix_ms.

maplibre_native_ffi_resource_request_info_has_prior_modified_unix_ms

Whether the value has maplibre_native_ffi_resource_request_info_get_prior_modified_unix_ms.

maplibre_native_ffi_resource_request_info_has_range

Whether the value has maplibre_native_ffi_resource_request_info_get_range.