Headers

org.http4s.Headers
See theHeaders companion class
object Headers

Attributes

Companion
class
Source
Headers.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Headers.type

Members list

Value members

Concrete methods

def apply(headers: ToRaw*): Headers

Creates a new Headers collection.

Creates a new Headers collection. The Header.ToRaw machinery allows the creation of Headers with variadic and heteregenous arguments, provided they are either: - A value of type A which has a Header[A] in scope - A (name, value) pair of String - A Header.Raw - A Foldable (List, Option, etc) of the above.

Attributes

Source
Headers.scala

Deprecated methods

def of(headers: ToRaw*): Headers

Attributes

Deprecated
true
Source
Headers.scala

Concrete fields

Attributes

Source
Headers.scala
val empty: Headers

Attributes

Source
Headers.scala

Implicits

Implicits

implicit lazy val HeadersOrder: Order[Headers]

Attributes

Source
Headers.scala
implicit val headersMonoid: Monoid[Headers]

Attributes

Source
Headers.scala
implicit val headersShow: Show[Headers]

Attributes

Source
Headers.scala