Accept

zio.http.Header$.Accept$
See theAccept companion class
object Accept extends HeaderType

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Accept.type

Members list

Concise view

Type members

Classlikes

final case class MediaTypeWithQFactor(mediaType: MediaType, qFactor: Option[Double])

The Accept header value one or more MIME types optionally weighed with quality factor.

The Accept header value one or more MIME types optionally weighed with quality factor.

Attributes

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

Types

override type HeaderValue = Accept

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

def apply(mediaType: MediaType, qFactor: Option[Double]): Accept
def apply(first: MediaType, rest: MediaType*): Accept
override def name: String

Attributes

Definition Classes
def render(header: Accept): String