Crate hyper_content_encoding

source ·
Expand description

Utility for handling Content-Encoding with hyper

This crate currently only supports gzip, deflate and identity

Structs§

Enums§

  • The different supported encoding types

Functions§

  • Compresses a response with the desired compression algorithm.
  • Creates a boxed body from a Byte like type
  • Extracts the body of a response as a String. The response must contain a Content-Type with the word text