Headers

object Headers
Companion:
class
Source:
Headers.scala
class Object
trait Matchable
class Any
Headers.type

Value members

Concrete methods

def apply(headers: ToRaw*): Headers

Creates a new Headers collection. The Header.ToRaw machinery allows the creation of Headers with variadic and heteregenous arguments, provided they are either:

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.
Source:
Headers.scala

Deprecated methods

@deprecated("use Headers.apply", "0.22.0")
def of(headers: ToRaw*): Headers
Deprecated
Source:
Headers.scala

Concrete fields

val SensitiveHeaders: Set[CIString]

Implicits

Implicits

implicit lazy val HeadersOrder: Order[Headers]
implicit val headersShow: Show[Headers]