ContentRange

zio.http.Header.ContentRange
See theContentRange companion trait
object ContentRange extends HeaderType

Attributes

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

Members list

Type members

Classlikes

final case class EndTotal(unit: String, s: Int, e: Int, t: Int) extends ContentRange

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ContentRange
trait Header
class Object
trait Matchable
class Any
Show all
final case class RangeTotal(unit: String, t: Int) extends ContentRange

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ContentRange
trait Header
class Object
trait Matchable
class Any
Show all
final case class StartEnd(unit: String, s: Int, e: Int) extends ContentRange

Attributes

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

Types

override type HeaderValue = ContentRange

Inherited types

type MirroredElemLabels <: Tuple

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(s: String): Either[String, ContentRange]
def render(c: ContentRange): String