RestRequestConfig

REST request configuration

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Request content type.

Link copied to clipboard
var data: V?

Data to send.

Link copied to clipboard
var deserializer: DeserializationStrategy<T>?

Response data deserializer.

Link copied to clipboard
var headers: () -> List<Pair<String, String>>?

A function returning a list of HTTP headers.

Link copied to clipboard

An HTTP method.

Link copied to clipboard

A request filtering function.

Link copied to clipboard

Response body type.

Link copied to clipboard
var resultTransform: (dynamic) -> dynamic?

An optional transformation function, to modify result received from the server before deserialization.

Link copied to clipboard
var serializer: SerializationStrategy<V>?

Request data serializer.