pub struct CriticalRequestComponents { /* private fields */ }
Expand description
Critical components from request to apply to response.
Implementations§
source§impl CriticalRequestComponents
impl CriticalRequestComponents
sourcepub fn apply_to_response(
&self,
response: &mut Response<Bytes>,
overriden_len: Option<usize>,
) -> Result<(), SanitizeError>
pub fn apply_to_response( &self, response: &mut Response<Bytes>, overriden_len: Option<usize>, ) -> Result<(), SanitizeError>
Applies the critical components’ info to the response
.<