send

open fun <V> send(api: String, params: Map<String, Any>, requestMethod: Int, clazz: Class<V>, gigyaCallback: GigyaCallback<V>)

Base API send request initiator.

Parameters

api

Requested API.

params

Requested parameters map.

requestMethod

HTTP request method RestAdapter

clazz

Requested Typed response class.

gigyaCallback

Response callback.

<V>

Typed response class.


open fun <V> send(api: String, params: Map<String, Any>, headers: Map<String, String>, clazz: Class<V>, gigyaCallback: GigyaCallback<V>)

Base API send request initiator.

Parameters

api

Requested API.

params

Requested parameters map.

headers

Requested custom headers.

clazz

Requested Typed response class.

gigyaCallback

Response callback.

<V>

Typed response class.