Table of Contents

Class HttpHeaderTransformResponse

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

The headers that an HTTP header transform callback sets.

public sealed class HttpHeaderTransformResponse
Inheritance
HttpHeaderTransformResponse
Inherited Members

Remarks

See mln_http_header_transform_response in the C API reference.

Methods

SetHeader(string, string)

Sets a header on the request that an HTTP header transform callback handles.

public void SetHeader(string name, string value)

Parameters

name string
value string

Remarks

Header names ignore letter case, and setting a header again replaces its value. name can't be a header that the library or the platform manages: Accept-Encoding, Connection, Content-Length, Host, If-Modified-Since, If-None-Match, Keep-Alive, Proxy-Authorization, Proxy-Connection, Range, TE, Trailer, Transfer-Encoding, Upgrade, or User-Agent.

See mln_http_header_transform_response_set_header in the C API reference.