Expand description
§Metadata Extraction Layer
This layer orchestrates the extraction of gRPC metadata from incoming HTTP requests.
It executes registered MetadataAnnotator functions to pull context (e.g., Request IDs,
Auth Tokens) into a MetadataMap. The resulting metadata is stored in the request
extensions, where it can be later retrieved by the generated code to populate the
tonic::Request.
It also injects the MetadataForwardingConfig into the extensions, ensuring downstream components respect the configured security rules.
Structs§
- Metadata
Layer - A Tower middleware that executes metadata annotators.