Skip to content

Structure

HTTPHeaders.ResponseCompression

A marker header internal to vapor that explicitly allows or disallows response compression.
struct ResponseCompression

Topics

Type Properties

  • disable
    Explicitly disable response compression.
  • enable
    Explicitly enable response compression.
  • unset
    Implicitly use the server’s default response compression determination.
  • useDefault
    Explicitly use the server’s default response compression determination.

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype