Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

A ContentNegotiation configuration that is used during installation.

Link copied to clipboard

Matcher that accepts all extended json content types

Properties

Link copied to clipboard

A plugin that serves two primary purposes:

Functions

Link copied to clipboard
fun HttpRequestBuilder.exclude(vararg contentType: ContentType)

Excludes the given ContentType from the list of types that will be sent in the Accept header by the ContentNegotiation plugin. Can be used to not accept specific types for particular requests. This can be called multiple times to exclude multiple content types, or multiple content types can be passed in a single call.