AcceptEncoding

zio.http.Header$.AcceptEncoding$
See theAcceptEncoding companion trait
object AcceptEncoding extends HeaderType

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class Br(weight: Option[Double]) extends AcceptEncoding

A compression format that uses the Brotli algorithm.

A compression format that uses the Brotli algorithm.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
final case class Compress(weight: Option[Double]) extends AcceptEncoding

A compression format that uses the Lempel-Ziv-Welch (LZW) algorithm.

A compression format that uses the Lempel-Ziv-Welch (LZW) algorithm.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
final case class Deflate(weight: Option[Double]) extends AcceptEncoding

A compression format that uses the zlib structure with the deflate compression algorithm.

A compression format that uses the zlib structure with the deflate compression algorithm.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
final case class GZip(weight: Option[Double]) extends AcceptEncoding

A compression format that uses the Lempel-Ziv coding (LZ77) with a 32-bit CRC.

A compression format that uses the Lempel-Ziv coding (LZ77) with a 32-bit CRC.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
final case class Identity(weight: Option[Double]) extends AcceptEncoding

Indicates the identity function (that is, without modification or compression). This value is always considered as acceptable, even if omitted.

Indicates the identity function (that is, without modification or compression). This value is always considered as acceptable, even if omitted.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
final case class Multiple(encodings: NonEmptyChunk[AcceptEncoding]) extends AcceptEncoding

Maintains a chunk of AcceptEncoding values.

Maintains a chunk of AcceptEncoding values.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
final case class NoPreference(weight: Option[Double]) extends AcceptEncoding

Matches any content encoding not already listed in the header. This is the default value if the header is not present.

Matches any content encoding not already listed in the header. This is the default value if the header is not present.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any

Types

override type HeaderValue = AcceptEncoding

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def name: String

Attributes

Definition Classes
def render(encoding: AcceptEncoding): String