ContentTypeWithQuality

data class ContentTypeWithQuality

Pair of ContentType and quality usually parsed from HttpHeaders.Accept headers.

Parameters

contentType -

quality -

Constructors

<init>

ContentTypeWithQuality(
    contentType: ContentType,
    quality: Double = 1.0)

Pair of ContentType and quality usually parsed from HttpHeaders.Accept headers.

Properties

contentType

val contentType: ContentType

quality

val quality: Double