Struct
MaplibreNativeFfiResourceTransform
Description [src]
struct MaplibreNativeFfiResourceTransform {
/* No available fields */
}
How to rewrite request URLs, for
maplibre_native_ffi_runtime_set_resource_transform_async().
Set either callback or rules, not both.
See mln_resource_transform in the
C API reference.
Constructors
maplibre_native_ffi_resource_transform_new
Creates a MaplibreNativeFfiResourceTransform whose members are zero or empty.
Instance methods
maplibre_native_ffi_resource_transform_get_rules
Gets the value that maplibre_native_ffi_resource_transform_set_rules sets.
maplibre_native_ffi_resource_transform_set_callback
Rewrites the URL of a network request before the library sends it.
maplibre_native_ffi_resource_transform_set_rules
The first rule that matches a request adds its parameters, and no other. A request that no rule matches keeps its URL.