object Companion
source · line 76public
public companion
Construction and parsing of this structured HTTP field.
function parseOrNone
source · line 104public
public fun parseOrNone(value: List<Byte>): HttpRange?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter value
source · line 104public
value: List<Byte>
function parse
source · line 99public
public fun parse(value: String): HttpRange
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter value
source · line 99public
value: String
function parseOrNone
source · line 112public
public fun parseOrNone(value: String): HttpRange?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter value
source · line 112public
value: String
function parse
source · line 80public
public fun parse(value: List<Byte>): HttpRange
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter value
source · line 80public
value: List<Byte>