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
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type
Via.type

Members list

Type members

Classlikes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Version

Types

override type HeaderValue = Via

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

override def name: String

Attributes

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