Trait gotham::router::response::StaticResponseExtender
source · pub trait StaticResponseExtender: RefUnwindSafe {
type ResBody: HttpBody;
fn extend(state: &mut State, response: &mut Response<Self::ResBody>);
}
Expand description
Extend the Response
based on current State
and Response
data.