Package-level declarations
Types
Link copied to clipboard
typealias AcceptHeaderContributor = (call: ApplicationCall, acceptedContentTypes: List<ContentTypeWithQuality>) -> List<ContentTypeWithQuality>
A functional type for accepted content types contributor.
Link copied to clipboard
A configuration for the ContentNegotiation plugin.
Link copied to clipboard
A pair of ContentType and quality usually parsed from the HttpHeaders.Accept headers.
Functions
Link copied to clipboard
Detects a suitable charset for an application call by using the Accept
header or fallbacks to defaultCharset.