Via

zio.http.Header$.Via$
See theVia companion trait
object Via extends HeaderType

The Via general header is added by proxies, both forward and reverse, and can appear in the request or response headers. It is used for tracking message forwards, avoiding request loops, and identifying the protocol capabilities of senders along the request/response chain

Attributes

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

Members list

Concise view

Type members

Classlikes

final case class Detailed(receivedProtocol: ReceivedProtocol, receivedBy: String, comment: Option[String]) extends Via

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Via
trait Header
class Object
trait Matchable
class Any
final case class Multiple(values: NonEmptyChunk[Via]) extends Via

Attributes

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

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ReceivedProtocol

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Types

override type HeaderValue = Via

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

override def name: String

Attributes

Definition Classes
def parse(values: String): Either[String, Via]
def render(via: Via): String