ContentTypeWithQuality

data class ContentTypeWithQuality(val contentType: ContentType, val quality: Double = 1.0)

A pair of ContentType and quality usually parsed from the HttpHeaders.Accept headers.

Parameters

contentType
quality

Constructors

Link copied to clipboard
fun ContentTypeWithQuality(contentType: ContentType, quality: Double = 1.0)

Properties

Link copied to clipboard
Link copied to clipboard
val quality: Double = 1.0