Skip to main content

Module config

Module config 

Source
Expand description

Proxy config: listeners, context sources, and routes with transform steps.

Structs§

Config
ContextConfig
Context sources. static_values are TOML literals; env maps a context key to the env var it is read from at startup.
ErrorRemapSpec
Map an upstream status to a normalized {error, detail} body (status kept).
InjectSpec
Inject a context value or constant into a header or a (dotted) body path. Exactly one of header/body and one of from_context/const must be set; validated when the transform is built (Task 4).
Route
WrapSpec
Nest the incoming JSON body under under and inject sibling body fields.

Enums§

RequestStep
A request-pipeline step: a built-in (externally tagged by key) or a named custom transform.
ResponseStep