Origin

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

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Origin.type

Members list

Concise view

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

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Origin
trait Header
class Object
trait Matchable
class Any
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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Origin
trait Header
class Object
trait Matchable
class Any

Types

override type HeaderValue = Origin

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

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 render(origin: Origin): String