Accept

data class Accept(val contentTypes: List<ContentType>, val directives: Parameters)

Constructors

Link copied to clipboard
constructor(contentTypes: List<ContentType>, directives: Parameters)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun accepts(contentType: ContentType): Boolean

Note that the Accept header ignores CharSet because that is in a separate Accept-CharSet header..