Module gotham::router::response

source ·
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 using ResponseFinalizerBuilder::add. This type is constructed automatically when using the gotham::router::builder API. See RouterBuilder::add_response_extender for details on configuring ResponseExtender values for each StatusCode.
Builds an immutable ResponseFinalizer.

Traits

Allow complex types to extend the Response based on current State and Response data.
Extend the Response based on current State and Response data.

Derive Macros