Module add_extension
Expand description
Middleware that clones a value into an incoming input’s or an output’s extensions
Note though that extensions are best not used for State that you expect to be there, but instead use extensions for optional behaviour to change. Static typed state is better embedded in service structs or as state for routers.
Structs§
- AddInput
Extension - Middleware for adding some shareable value to incoming input’s extensions.
- AddInput
Extension Layer Layerfor adding some shareable value to incoming input’s extensions.- AddOutput
Extension - Middleware for adding some shareable value to an output’s extensions.
- AddOutput
Extension Layer Layerfor adding some shareable value to an output’s extensions.