Config

class Config

JsonFeature configuration that is used during installation

Constructors

<init>

Config()

JsonFeature configuration that is used during installation

Properties

acceptContentTypes

var acceptContentTypes: List<ContentType>

List of content types that are handled by this feature. It also affects Accept request header value. Please note that wildcard content types are supported but no quality specification provided.

serializer

var serializer: JsonSerializer?

Serializer that will be used for serializing requests and deserializing response bodies.