kvarn::prelude::utils

Struct CriticalRequestComponents

source
pub struct CriticalRequestComponents { /* private fields */ }
Expand description

Critical components from request to apply to response.

Implementations§

source§

impl CriticalRequestComponents

source

pub fn apply_to_response( &self, response: &mut Response<Bytes>, overriden_len: Option<usize>, ) -> Result<(), SanitizeError>

Applies the critical components’ info to the response.<