Range

zio.http.Header$.Range$
See theRange companion trait
object Range extends HeaderType

Attributes

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

Members list

Concise view

Type members

Classlikes

final case class Multiple(unit: String, ranges: List[(Long, Option[Long])]) extends Range

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Range
trait Header
class Object
trait Matchable
class Any
final case class Prefix(unit: String, value: Long) extends Range

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Range
trait Header
class Object
trait Matchable
class Any
final case class Single(unit: String, start: Long, end: Option[Long]) extends Range

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Range
trait Header
class Object
trait Matchable
class Any
final case class Suffix(unit: String, value: Long) extends Range

Attributes

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

Types

override type HeaderValue = Range

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