Expand description
Defines Router
functionality which acts on the Response
Structs
- An extender that does not alter the response.
- Holds an immutable collection of
ResponseExtender
values, as configured usingResponseFinalizerBuilder::add
. This type is constructed automatically when using thegotham::router::builder
API. SeeRouterBuilder::add_response_extender
for details on configuringResponseExtender
values for eachStatusCode
. - Builds an immutable
ResponseFinalizer
.
Traits
- Allow complex types to extend the
Response
based on currentState
andResponse
data. - Extend the
Response
based on currentState
andResponse
data.