Upgrade

zio.http.Header.Upgrade
See theUpgrade companion trait
object Upgrade extends HeaderType

Attributes

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

Members list

Type members

Classlikes

final case class Multiple(protocols: NonEmptyChunk[Protocol]) extends Upgrade

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Upgrade
trait Header
class Object
trait Matchable
class Any
Show all
final case class Protocol(protocol: String, version: String) extends Upgrade

Attributes

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

Types

override type HeaderValue = Upgrade

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(value: String): Either[String, Upgrade]
def render(upgrade: Upgrade): String