HeaderValue

data class HeaderValue(value: String, params: List<HeaderValueParam>)

Represents a header value. Similar to HeaderValueWithParameters

Constructors

Link copied to clipboard
fun HeaderValue(value: String, params: List<HeaderValueParam> = emptyList())

Properties

Link copied to clipboard
val params: List<HeaderValueParam>

for this value (could be empty)

Link copied to clipboard
val quality: Double

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

Link copied to clipboard
val value: String