kvarn::comprash

Enum CompressPreference

source
pub enum CompressPreference {
    None,
    Full,
}
Expand description

The preference of compression in CompressedResponse.

Variants§

§

None

Will not auto-compress response body

§

Full

Will automatically compress and send compressed versions of the response

Trait Implementations§