pub trait StaticResponseExtender: RefUnwindSafe {
    type ResBody: Payload;
    fn extend(state: &mut State, response: &mut Response<Self::ResBody>);
}
Expand description

Extend the Response based on current State and Response data.

Associated Types

The type of the response body. Almost always hyper::Body.

Required methods

Extend the response.

Implementors