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

#include <runtime.h>

Data Fields

uint32_t kinds
uint32_t flags
mln_buffer_view url
const mln_http_header * headers

Detailed Description

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.

Field Documentation

◆ flags

uint32_t mln_http_header_rule::flags

A bitwise OR of mln_url_match_flags values.

◆ headers

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.

◆ kinds

uint32_t mln_http_header_rule::kinds

The resource kinds to match.

◆ url

mln_buffer_view mln_http_header_rule::url

The URL or glob pattern to compare.


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