Skip to main content

Module headers

Module headers 

Source
Expand description

§Header Processing Layer

This layer intercepts incoming requests and outgoing responses to filter or transform HTTP headers using configured HeaderMatcher functions.

This allows for renaming headers (e.g., Authorization -> x-auth-token) or stripping sensitive/unwanted headers before they reach the application logic or the client.

Structs§

HeaderLayer
A Tower middleware that applies header matching logic.