Range

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

Attributes

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

Members list

Type members

Classlikes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Types

override type HeaderValue = Range

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