Function set_compression_dict_content

Source
pub fn set_compression_dict_content(content: Cow<'static, [u8]>) -> bool
Expand description

Set the header compression dictionary content, which helps serialize http header.

Returns false if it is already set.

This is an alernative to set_compression_dict_path, allowing use of a dictionary without an external file.