Header

object Header

Provides factory for Header.

Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply(name: String, value: String): Header

Creates header using supplied name and value.

Creates header using supplied name and value.

def apply(name: String, value: Int): Header

Creates header using supplied name and value.

Creates header using supplied name and value.

def apply(name: String, value: Long): Header

Creates header using supplied name and value.

Creates header using supplied name and value.

def apply(name: String, value: Instant): Header

Creates header using supplied name and value.

Creates header using supplied name and value.

Note

The header value is formatted per ยง3.3 of RFC5322.

def apply(header: String): Header

Parses formatted header.

Parses formatted header.