Skip to main content

Module dynamic_set_header

Module dynamic_set_header 

Source

Structs§

DynamicSetHeader
A processor that sets a header using an expression closure. The closure receives the full exchange (read-only) and returns a Value.
DynamicSetHeaderIfAbsent
A processor that sets a header using an expression closure, but ONLY if the header is not already present (if-absent semantics). The presence check happens BEFORE expression evaluation — if the header exists, the expression is never called.
DynamicSetHeaderLayer
A Tower Layer that wraps an inner service with a DynamicSetHeader.