object Header
- Companion
- class
Type members
Classlikes
sealed
Abstracts over Single and Recurring Headers
Abstracts over Single and Recurring Headers
- Companion
- object
sealed
trait ToRaw
Target for implicit conversions to Header.Raw from modelled headers and key-value pairs.
Target for implicit conversions to Header.Raw from modelled headers and key-value pairs.
A method taking variadic ToRaw
arguments will allow taking
heteregenous arguments, provided they are either:
- A value of type
A
which has aHeader[A]
in scope - A (name, value) pair of
String
, which is treated as aRecurring
header - A
Header.Raw
- A
Foldable
(List
,Option
, etc) of the above.
- See also
- Companion
- object
sealed
trait Type
Classifies modelled headers into Single
headers, which can only
appear once, and Recurring
headers, which can appear multiple
times.
Classifies modelled headers into Single
headers, which can only
appear once, and Recurring
headers, which can appear multiple
times.
Value members
Concrete methods
def create[A, T <: Type](name_: CIString, value_: A => String, parse_: String => Either[ParseFailure, A]): Header[A, T]
def createRendered[A, T <: Type, B : Renderer](name_: CIString, value_: A => B, parse_: String => Either[ParseFailure, A]): Header[A, T]