HeaderValue

data class HeaderValue

Represents a header value. Similar to HeaderValueWithParameters

Constructors

<init>

HeaderValue(
    value: String,
    params: List<HeaderValueParam> = listOf())

Represents a header value. Similar to HeaderValueWithParameters

Properties

params

val params: List<HeaderValueParam>

for this value (could be empty)

quality

val quality: Double

Value’s quality according to q parameter or 1.0 if missing or invalid

value

val value: String