Expand description
§Response Modification Layer
This layer executes registered ResponseModifier hooks after the request has been processed by the inner service.
This is typically used to inject headers (e.g., standard security headers), rewrite status codes (e.g., mapping gRPC metadata to HTTP status), or perform post-processing logging.
Structs§
- Response
Layer - A Tower middleware that applies response modifiers.