Skip to main content

Module http_header_transform

Module http_header_transform 

Source
Expand description

Headers a host adds to the HTTP requests of the online file source, as maplibre-native-ffi’s HTTP file sources do for its mln_runtime_set_http_header_transform. MapLibre Native has no counterpart.

Structs§

HttpHeaderTransform
The headers to add to each HTTP request: the callback gets the resource’s kind and the URL the request goes to, after any resource transform, and runs again for every attempt of the request (retries and revalidations). Only http and https URLs reach it.

Type Aliases§

HttpHeaders
Header names and values, in the order they are sent.