ContentTypeMergeStrategy

Defines how registered content types are merged into the request's Accept header.

Report a problem

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun mergeContentTypes(registeredContentTypes: List<ContentType>, acceptHeaders: List<String>): Sequence<ContentType>

Returns the content types that should be appended to the Accept header.