|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <runtime.h>
Data Fields | |
| uint32_t | kinds |
| uint32_t | flags |
| mln_buffer_view | url |
| const mln_http_header * | headers |
One rule of a native HTTP header transform.
The first rule whose kind and URL match supplies all its headers, including an empty header list that stops the search.
| uint32_t mln_http_header_rule::flags |
A bitwise OR of mln_url_match_flags values.
| const mln_http_header* mln_http_header_rule::headers |
The headers to set. Registration validates each one as mln_http_header_transform_response_set_header() does.
| uint32_t mln_http_header_rule::kinds |
The resource kinds to match.
| mln_buffer_view mln_http_header_rule::url |
The URL or glob pattern to compare.