Expand description
Defines Router functionality which acts on the Response
Structs§
- Noop
Response Extender - An extender that does not alter the response.
- Response
Finalizer - Holds an immutable collection of
ResponseExtendervalues, as configured usingResponseFinalizerBuilder::add. This type is constructed automatically when using thegotham::router::builderAPI. SeeRouterBuilder::add_response_extenderfor details on configuringResponseExtendervalues for eachStatusCode. - Response
Finalizer Builder - Builds an immutable
ResponseFinalizer.
Traits§
- Response
Extender - Allow complex types to extend the
Responsebased on currentStateandResponsedata. - Static
Response Extender - Extend the
Responsebased on currentStateandResponsedata.