Struct kvarn::CacheReply

source ·
pub struct CacheReply {
    pub response: Response<Bytes>,
    pub identity_body: Bytes,
    pub sanitize_data: Result<CriticalRequestComponents, SanitizeError>,
    pub future: Option<(ResponsePipeFuture, Option<usize>)>,
}
Expand description

The returned data from handle_cache.

Can be used to get responses from Kvarn without sending a request over HTTP.

Fields§

§response: Response<Bytes>

The response. Duh.

§identity_body: Bytes

The response body without compression.

§sanitize_data: Result<CriticalRequestComponents, SanitizeError>

The returned value from