Enumeration
HTTPHeaders.ContentRange.Value
Represents the value of the
Content-Range request header.enum Value
Overview
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range
Topics
Enumeration Cases
case any(size: Int)case within(start: Int, end: Int)case withinWithLimit(start: Int, end: Int, limit: Int)
Instance Methods
func serialize() -> StringSerializesHTTPHeaders.Range.Valueto a string for use within the HTTPContent-Rangeheader.
Type Methods
static func from<T>(responseStr: T) -> HTTPHeaders.ContentRange.Value?Parses a string representing a response range in one of the following formats:
Relationships
Conforms To
Swift.Equatable