Origin

zio.http.Header.Origin
See theOrigin companion trait
object Origin extends HeaderType

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type
Origin.type

Members list

Type members

Classlikes

case object Null extends Origin

The Origin header value is privacy sensitive or is an opaque origin.

The Origin header value is privacy sensitive or is an opaque origin.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Origin
trait Header
class Object
trait Matchable
class Any
Show all
Self type
Null.type
final case class Value(scheme: String, host: String, port: Option[Int]) extends Origin

The Origin header value contains scheme, host and maybe port.

The Origin header value contains scheme, host and maybe port.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Origin
trait Header
class Object
trait Matchable
class Any
Show all

Types

override type HeaderValue = Origin

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(scheme: String, host: String, port: Option[Int]): Origin
override def name: String

Attributes

Definition Classes
def parse(value: String): Either[String, Origin]
def render(origin: Origin): String