ByteRange

zio.http.Body.ByteRange
final case class ByteRange(start: Long, end: Long, totalSize: Long, contentType: MediaType, data: ZStream[Any, Throwable, Byte])

Represents a single byte range for multipart/byteranges responses.

Value parameters

contentType

The content type of this part

data

The stream of bytes for this range

end

The ending byte position (inclusive)

start

The starting byte position (inclusive)

totalSize

The total size of the complete resource

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product