create

open fun create(api: String, params: Map<String, Any>): GigyaApiRequest


open fun create(api: String, params: Map<String, Any>, httpMethod: RestAdapter.HttpMethod): GigyaApiRequest

Create a new instance of the GigyaApiRequest structure.

Return

New GigyaApiRequest instance.

Parameters

api

Api method.

params

Request parameters.

httpMethod

Request HTTP method.


open fun create(api: String, params: Map<String, Any>, httpMethod: RestAdapter.HttpMethod, @Nullable headers: HashMap<String, String>): GigyaApiRequest

Create a new instance of the GigyaApiRequest structure.

Return

New GigyaApiRequest instance.

Parameters

api

Api method.

params

Request parameters.

httpMethod

Request HTTP method.

headers

Custom header map.