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: <Error class: unknown class><T>?

Response data deserializer.

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

A function returning a list of HTTP headers.

Link copied to clipboard

An HTTP method.

Link copied to clipboard
var requestFilter: <Error class: unknown class>.() -> Unit?

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: <Error class: unknown class><V>?

Request data serializer.