Module add_extension

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§

AddInputExtension
Middleware for adding some shareable value to incoming input’s extensions.
AddInputExtensionLayer
Layer for adding some shareable value to incoming input’s extensions.
AddOutputExtension
Middleware for adding some shareable value to an output’s extensions.
AddOutputExtensionLayer
Layer for adding some shareable value to an output’s extensions.